After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 387437 - Tabs reordering behaves wrong in RTL Interface
Tabs reordering behaves wrong in RTL Interface
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks: Hebrew
 
 
Reported: 2006-12-19 07:30 UTC by Shlomi Israely
Modified: 2011-09-01 13:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Shlomi Israely 2006-12-19 07:30:59 UTC
Hello,

It seems, that while using a right-to-left layout, the tabs in the notebook, behaves incorrectly. 

The expected result is, that while draging the tab, it will change its position with the one on its right (or left, according to where we are dragging it).
Using a left-to-right layout (English), works fine.

When using RTL, dragging the tab, causes it to jump directly to the first position, no matter where it was or where was I dragging it to.

I checked this, on Debian testing (Gnome 2.14), and Ubuntu (2.16).

Additionaly, it seems that Epiphany's (2.16.1) tabs do not suffer from this bug (which, as much as I know have a different implementation).

How to reproduce:
1. Open gedit with a RTL locale, for example write in the terminal:
   LANG=he_IL.UTF-8 gedit
   notice that the entire UI is aligned to the right (as expected).
2. Open 3-4 tabs.
3. Try reordering the tabs, and notice that the tab being dragged, jumps directly to the first position and cannot be moved from there.
Comment 1 Christian Persch 2006-12-19 12:07:02 UTC
Epiphany 2.16 uses gtknotebook tab dragging, while gedit 2.16 uses the old epiphany 2.14 notebook code.

Gtknotebook works as expected; re-assigning this to gedit.
Comment 2 Ignacio Casal Quinteiro (nacho) 2011-09-01 13:25:49 UTC
We are now using the gtknotebook reordering so this is now fixed. Thanks for reporting.