GUI: Part of game name moving around
|Reported by:||criezy||Owned by:||lephilousophe|
When adding a prefix such as "[AGS]" to game names, editing the game name in the Edit Game dialog moves this prefix to the left or to the right depending where the text cursor is in the text.
For example if the cursor is on the prefix, the prefix is displayed on the left, but of the text cursor is just after the prefix, the prefix is displayed on the right.
This is with current master on macOS with fribidi 1.0.10.
I have attached two screenshots with "[AGS] Downfall (English)" as an example. On the first screenshot the text cursor is just after the 'A' of the "[AGS]" prefix, and the prefix is displayed on the left (where it should be). On the second screenshot the text cursor is just after the closing bracket of the prefix, but appears to be after the 'n' of "Downfall" because the prefix has been moved to the right.