Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344641 - [Webapp]Contents tree gets squashed at left side in RTL mode
Summary: [Webapp]Contents tree gets squashed at left side in RTL mode
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 17:00 EDT by Chris Goldthorpe CLA
Modified: 2019-11-14 02:15 EST (History)
1 user (show)

See Also:


Attachments
Screen Shot (24.94 KB, image/png)
2011-05-03 17:01 EDT, Chris Goldthorpe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2011-05-03 17:00:30 EDT
3.7M7 RHEL 5

Start Eclipse with the argument -dir rtl
Open Help
Make the contents view small enough that a scrollbar is required

The tree is not aligned correctly, titles are squashed against the left margin.
Comment 1 Chris Goldthorpe CLA 2011-05-03 17:01:08 EDT
Created attachment 194652 [details]
Screen Shot
Comment 2 Chris Goldthorpe CLA 2011-05-04 13:25:59 EDT
On Windows 7 the tree does not have this problem
Comment 3 Chris Goldthorpe CLA 2011-05-04 14:47:54 EDT
The problem shows only when using the embedded browser, an external browser works fine. The problem also exists in Eclipse 3.6.2.
Comment 4 Chris Goldthorpe CLA 2011-05-04 17:00:53 EDT
The problem only exists when using specific versions of XULRunner. Version 1.9.2 of XULRunner does not show the problem. See http://www.eclipse.org/swt/faq.php#specifyxulrunner for more information about how to specify the XULRunner version that Eclipse will use.
Comment 5 Chris Goldthorpe CLA 2011-05-05 13:58:23 EDT
Grant, how does the XULRunner selection logic work? On my RHEL5 system there are XULRunners at 

/usr/lib/xulrunner-1.9.2

and 

usr/lib/xulrunner-1.8.1.13-lwp

The 1.8.1.13 version is getting selected by default when I run Eclipse and that is the one which has RTL issues.
Comment 6 Grant Gayed CLA 2011-05-05 14:34:13 EDT
The native renderer detection is described in http://www.eclipse.org/swt/faq.php#howdetectmozilla .  I assume #1 does not apply here, so it's probably #2 where it finds your xulrunner.

#2 uses xulrunner code to detect a xulrunner in the version range 1.8.1.2 - 1.9.x that's registered on the OS.  This detection implementation is out of our hands, and it doesn't offer a second choice of native renderer to use if you don't like the first one it gives.  From what I remember it is not actually spec'd to always return the newest xulrunner if multiple installs are found satisfying the version range criteria, which is why there are separate steps #2 and #3 that do almost the same thing.

One thing worth verifying is that your xulrunner 1.9.2 is registered on your OS (maybe only your xulrunner 1.8.1.3 is?).  To do this cd to its directory and do:

./xulrunner --register-global (or alternatively: ./xulrunner --register-user)
Comment 7 Chris Goldthorpe CLA 2011-05-06 13:33:36 EDT
This is probably going to end up being closed as NOT_ECLIPSE since it works when a good version of XULRunner is specified but I will keep it open for now while I do some further investigation.
Comment 8 Lars Vogel CLA 2019-11-14 02:15:09 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.