Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 535977

Summary: Font-related regressions in 4.9
Product: [Eclipse Project] Platform Reporter: Stephan Herrmann <stephan.herrmann>
Component: SWTAssignee: Sravan Kumar Lakkimsetti <sravankumarl>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, loskutov, lshanmug, platform-swt-inbox, sravankumarl
Version: 4.9   
Target Milestone: 4.9 M2   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 534932    

Description Stephan Herrmann CLA 2018-06-17 08:10:57 EDT
After updating from 20180611 to 20180615 I'm seeing the following font related problems:

- Text editors no longer react to zoom in/out (Ctrl++, Ctrl+-, nor to explicit changes of the text font via preferences. Seen in plain text editor and in Java editors. It looks like font size 12 is constantly used.

- Javadoc hovers appear as white on white, where previously it was black on white (content can only be detected by copy&paste)

Not affected: problem hovers.

Selected config details:

eclipse.buildId=4.9.0.I20180615-0655
org.eclipse.swt.internal.deviceZoom=100
org.eclipse.swt.internal.gdk.backend=x11
org.eclipse.swt.internal.gtk.theme=Breeze
org.eclipse.swt.internal.gtk.version=3.18.9
org.eclipse.swt.internal.webkitgtk.version=2.20.2
SWT_GTK3=1

Kubuntu 16.04 LTS with GTK theme Breeze.
Comment 1 Andrey Loskutov CLA 2018-06-17 13:50:08 EDT
Works for me on Windows, so I guess this is SWT issue.
Comment 2 Sravan Kumar Lakkimsetti CLA 2018-06-18 01:41:45 EDT
Recent hidpi reimplemention might have caused this. I will investigate.
Comment 3 Sravan Kumar Lakkimsetti CLA 2018-06-18 04:48:21 EDT
This problem is not reproduced in Ubuntu 18.04. Can be reproduced on Kubuntu 16.04. Continuing with my testing.
Comment 4 Andrey Loskutov CLA 2018-06-18 04:52:48 EDT
Related to bug 535992 / bug 535064 may be? In bug 535992 we see NaN font size.
Comment 5 Sravan Kumar Lakkimsetti CLA 2018-06-18 04:53:58 EDT
(In reply to Andrey Loskutov from comment #4)
> Related to bug 535992 / bug 535064 may be? In bug 535992 we see NaN font
> size.

yes its related.
Comment 7 Sravan Kumar Lakkimsetti CLA 2018-09-07 04:09:36 EDT
Verified in 4.9M2