This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 406782 - [DBCS4.3] Mac OS X, difference of line height between line number column and content column
Summary: [DBCS4.3] Mac OS X, difference of line height between line number column and ...
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Editor (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-29 07:00 EDT by Takehiko Ishii CLA
Modified: 2013-06-10 23:30 EDT (History)
5 users (show)

See Also:


Attachments
screenshot of the problem on Chrome browser. Safari has the same issue. (60.22 KB, image/png)
2013-04-29 07:00 EDT, Takehiko Ishii CLA
no flags Details
Sample text file which contains the same content in the screenshot (123 bytes, text/plain)
2013-05-07 01:06 EDT, Takehiko Ishii CLA
no flags Details
line hight issue on Safari 6 (105.53 KB, image/png)
2013-06-10 04:48 EDT, Takehiko Ishii CLA
no flags Details
screen shot of safari on my machine (316.50 KB, image/png)
2013-06-10 10:17 EDT, Silenio Quarti CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takehiko Ishii CLA 2013-04-29 07:00:31 EDT
Created attachment 230248 [details]
screenshot of the problem on Chrome browser. Safari has the same issue.

Description:
A line height becomes inconsistent between line number column and content view if the contents contain DBCS characters, on Safari 6.0 and Chrome 26 on Mac OS X.

OS: Max OS X 10.8.3 Japanese UI and region
Orion : https://orion.eclipse.org (as of 29th April 2013)
Locale: Japanese
Web browser: Safari 6.0.4, Chrome 26

Steps to recreate problem:
1-create a file on Orion
2-enter DBCS characters in multiple lines
3-compare the line height between line number column and its content

Expected output:
line height is the same between these two. There is no mismatch of line height.

Actual:
There is a mismatch of line height between these two. Please see the attached screenshot. This problem happens on Safari and Chrome while no problem on Firefox (ESR 17)
Comment 1 Silenio Quarti CLA 2013-05-06 15:59:15 EDT
I am not able to reproduce this on Safari. Please attach a file with contents that reproduce the problem for you.

I suspected this is similar to bug#386517 which will only be fixed with support for variable line height (bug#334910).
Comment 2 Takehiko Ishii CLA 2013-05-07 01:06:19 EDT
Created attachment 230559 [details]
Sample text file which contains the same content in the screenshot

I have attached sample text which has the same content as I attempted.
Comment 3 Silenio Quarti CLA 2013-05-29 14:41:15 EDT
The editor now switches to variable line height when necessary.

Please try the latest.
Comment 4 Ken Walker CLA 2013-05-29 15:25:34 EDT
I'm doing a build right now with these fixes and will deploy to orion.eclipse.org when complete and update this bug to say when it's up
Comment 5 Takehiko Ishii CLA 2013-06-10 04:43:44 EDT
Thanks for the fix. I tried I20130606-2230 build on both Safari 6.0.4 and Chrome 27 on Mac. Safari still has the same problem while Chrome looks ok now. please let me reopen it for Safari.
Comment 6 Takehiko Ishii CLA 2013-06-10 04:48:47 EDT
Created attachment 232157 [details]
line hight issue on Safari 6
Comment 7 Silenio Quarti CLA 2013-06-10 10:17:32 EDT
Created attachment 232177 [details]
screen shot of safari on my machine

It works fine for me on Safari (same version as yours). See screen shot.

Any other details to reproduce it?

Please try clearing your cache.
Comment 8 Takehiko Ishii CLA 2013-06-10 23:30:18 EDT
Today I tried the same operation again after clearing caches, and the problem has disappeared like your screenshot. It seems there was an old cache on my Safari. 

changed the state back to RESOLVED. Thanks for pointing this out.