Bug 479673 - Ugly appearance of windows and wrong calculation of character width's by eclipse
Summary: Ugly appearance of windows and wrong calculation of character width's by eclipse
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Andrew Overholt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-12 13:05 UTC by Hedayat Vatankhah
Modified: 2009-05-15 12:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-15 12:28:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
An image which shows what happens in Eclipse in fa locale (63.11 KB, image/png)
2009-05-08 14:11 UTC, Hedayat Vatankhah
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Eclipse Project 276455 0 None None None Never

Description Hedayat Vatankhah 2009-01-12 13:05:25 UTC
Description of problem:
In Fedora 10, when I set the system locale to fa_IR (Persian Language) and log in to gnome many things are larger which results in an ugly desktop. Gnome panel's minimum height which is 24 in en_US locale is 29 in fa_IS locale. Windows' title bars are also are larger (more height). The worst thing is that these sizes do not depend on the selected font! 
Totally, the desktop is uglier in fa_IR locale. 
Things are still not that bad till now, but in Eclipse when you enable "show print margin" option in its text editor settings, the line which is intended to show the 80 character margin appears in the middle of the editor, around character 50. In en_US locale, it appears in the correct position.

How reproducible:
Always

Steps to Reproduce:
1.In the gdm login screen, select Persian language and login
2.You can see that gnome applet is larger, and larger icons appear in it as a result
3.Run eclipse and enable "show print margin", in its text editor preferences.
4. The print margin in eclipse appears in the middle of the text editor area, which is around character 50, while it should appear at the end of 80th character.
  
Expected results:
Normal window sizes and correct estimation of print margin in eclipse text editor.

Comment 1 Hedayat Vatankhah 2009-04-09 12:05:15 UTC
The problem still exists in Fedora 11 Beta (Gnome LiveCD)

Comment 2 Hedayat Vatankhah 2009-05-08 14:11:31 UTC
Created attachment 343092 [details]
An image which shows what happens in Eclipse in fa locale

Comment 3 Andrew Overholt 2009-05-08 17:53:13 UTC
Hedayat, have you tried with a download from eclipse.org?  If you can, grab one of the builds from here for your architecture:

http://download.eclipse.org/eclipse/downloads/drops/S-3.5M7-200904302300/index.php

Then, do something like:

tar zxf eclipse-*.tar.gz
cd eclipse
./eclipse -data /tmp/testFontStuff

and see if you can reproduce there.  We don't do any patching to our Eclipse packages in this area so I suspect it is an upstream thing.

Comment 4 Hedayat Vatankhah 2009-05-14 20:35:32 UTC
Yes, the same problem exists with the latest eclipse M7 build. I don't know why the line appears in the wrong position, but it worked fine in Fedora 9. I had the problem started with Fedora 10, with the same eclipse version as what I used in Fedora 9.

Comment 5 Andrew Overholt 2009-05-14 20:49:32 UTC
Thanks for trying with upstream.  To ensure the highest chance of this getting fixed, it will be best to file a bug at bugs.eclipse.org.  If you do so, please add a reference to it on this bug under "External Bugs" above.

Comment 6 Andrew Overholt 2009-05-15 12:28:40 UTC
Thanks, Hedayat.  Closing as upstream.


Note You need to log in before you can comment on or make changes to this bug.