Downstream Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/371257 Screenshot: http://bit.ly/pVMZnM Screenshot is self-explanatory. Apart from the missing glyphs (another bug) some elements in the window are truncated. I'm not sure which version this is in.
Created attachment 51281 [details] an example of the format->page window in LibO writer on Debian
This isn't a new issue (was also reported against openoffice.org at http://openoffice.org/bugzilla/show_bug.cgi?id=107662), but it does seem to be Ubuntu specific (or at least specific to the way Ubuntu integrates LibO with GTK or something similar). I'm attaching a screen shot of libreoffice on debian unstable (package version 3.4.3-1).
I would really like to understand what problem we are talking about. In linked OOo (?!) screenshot from original report I see rectangles instead of text on the tabs, and the black border around the selection boxes is missing at the left side - the second one is the problem? I also see the problem in the screenshot for "Bug 42078 - The buttons in combo boxes are not mirrored in RTL interface". I can't reproduce with Farsi and Arabic UI using "LibreOffice 3.4.4 - WIN7 Home Premium (64bit) [OOO340m1 (Build:402)]", Win UI looks completely different and buttons are at the left end of the panes, what might be an additional bug. I change - Version to unspecified because reporter did not contribute any information and original OOo bug is for OOo 3.1.1! - OS to Linux due to report @Shahar Or Please check with 3.4.3 and report your results. Can you please leave a comment in Bug 42078?
Please ignore my nonsense comment " ... are at the left end of the panes ..."! I believe the main problem is that the pulldown buttons are not at their place. They should be inside the box and for RTL UI they should be at the left end of the pane with the value (see ATTACHED screenshot) But in the linked screenshot the buttons are outside the box and at the right of the value panes, what means completely misplaced. I doubt that this is a LibO issue. @Shahar Or Do you agree with my conclusions?
A note I made on bug 42078, which is probably a dup: The problem is that the combo boxes are not fully mirrored on rtl linux - the box element is, but the buttons are not. I do not agree that the fact that it appears only on linux means that it is a linux problem. In all gtk, qt, mozilla and chromium apps the combo boxes behave as they should in a linux rtl environment. I think LibreOffice is doing something wrong here.
As I said before - this is a specific bug for Ubuntu, as it doesn't happen in Debian (and Ubuntu packages are based on Debian). Also notice this comment: https://issues.apache.org/ooo/show_bug.cgi?id=107662#c7 The squares in the Ubuntu screen shot were another bug and already fixed in the meantime (e.g. the screen shot in this bug).
*** Bug 42078 has been marked as a duplicate of this bug. ***
Did anyone look at the code yet?
This also happens in nightly builds (from LibO site, no with Debian's packages) on 3.5.0-dev. Editing bug title accordingly.
Created attachment 53916 [details] Drop down arrow near comobo boxes in RTL UI
Created attachment 53917 [details] an example of the format->page window in LibO writer from official build
This issue have been fixed in master (commits 0608cb3, d2028f9 and f8e53d7).
BTW, I fixed this before seeing this bugzilla bug, this issue have annoyed me since the first time I first used OOo and I think there are tens of bug reports about this in OOo bug tracker, all ignored. The issue is GTK specific; in RTL mode GTK mirrors most of its widget, but OOo/LO (who is directly using low level GTK APIs to draw the widgets itself) does not take into account this mirroring which results in this mismatch. The aforementioned commits fix all the three widget I've noticed (combo box, combo box entry and spin button).
A well-deserved hooray for Khaled is due!
Hooray, Khaled! And thanks for the explanation, too! Excellent!
Confirmed with daily build. Thanks Khaled. build info: tinderbox: tree: libreoffice-3-5 tinderbox: pull time 2011-12-10 06:30:38 tinderbox: git sha1s core:3d5e50860ea9375acad9c42f2aefbbf6d7a1866e
This bug has returned with current gtk3 builds. It happens in ubuntu with version 6.0.3.2. Screenshot is attached.
Created attachment 141291 [details] Reversed combo boxes on rtl interface
Dear Yotam Benshalom, This bug has been in RESOLVED FIXED status for more than 6 months. If the issue is still reproducible with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/, please report a new issue in https://bugs.documentfoundation.org/enter_bug.cgi providing, if needed, the steps and documents to reproduce it. Thanks for your understanding and collaboration. Closing as RESOLVED FIXED