Bug 1348912

Summary: eclipse neon gui font different sizes
Product: [Fedora] Fedora Reporter: lejeczek <peljasz>
Component: eclipseAssignee: Alexander Kurtakov <akurtako>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 25CC: akurtako, andjrobins, eclipse-sig, ericwill, jerboaa, krzysztof.daniel, mat.booth, rgrunber, scela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-12 18:39:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
different font sizes
none
-Dswt.enable.autoScale=false - no change none

Description lejeczek 2016-06-22 09:55:58 UTC
Created attachment 1170654 [details]
different font sizes

Description of problem:

in different panes, in different places font (the same font) have different size, at least they are displayed that way.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 lejeczek 2016-06-22 10:37:22 UTC
ok, this really is urgent, this renders whole Eclipse unusable, fonts are so tiny it's very hard to read. No way I can find to change this.

Comment 2 Sopot Cela 2016-06-22 10:59:30 UTC
Can you try running with a vmarg: 

-Dswt.enable.autoScale=false

Comment 3 lejeczek 2016-06-22 11:30:28 UTC
still, no change I'm afraid, I've cleaned the sheet, removed .eclipse, nope.

$ eclipse -Dswt.enable.autoScale=false

(eclipse:22046): Gtk-WARNING **: Theme parsing error: gtk.css:2554:8: not a number

(eclipse:22046): Gtk-WARNING **: Theme parsing error: gtk.css:2554:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude org/eclipse/tycho/core/osgitools/EquinoxResolver.newState

(java:22049): Gtk-WARNING **: Theme parsing error: gtk.css:2554:8: not a number

(java:22049): Gtk-WARNING **: Theme parsing error: gtk.css:2554:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(Eclipse:22049): Gtk-WARNING **: Theme parsing error: gtk.css:2554:8: not a number

(Eclipse:22049): Gtk-WARNING **: Theme parsing error: gtk.css:2554:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

Comment 4 Mat Booth 2016-06-22 11:44:47 UTC
Does this option work if you add it to the end of the /etc/eclipse.ini file? (I.e. on a line after "-vmargs")

Comment 5 lejeczek 2016-06-22 12:09:04 UTC
no change

Comment 6 lejeczek 2016-06-22 12:10:01 UTC
Created attachment 1170691 [details]
-Dswt.enable.autoScale=false - no change

Comment 7 lejeczek 2016-06-22 12:12:13 UTC
I longer time ago I filed 1255007

one comment you will find there:
...

Your issue might be related to this new feature
https://www.eclipse.org/eclipse/news/4.6/M6/#Platform-Dev and it might even be
due to misconfiguration.
...

if that helps.

Comment 8 Eric Williams 2016-06-22 14:15:23 UTC
I believe this is being tracked upstream:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=494183

Comment 9 lejeczek 2016-06-22 15:41:05 UTC
apologies I'm asking here - is there any progress there, any projection as when it should/may work? I'm only asking for it's taking Eclipse months to fix Wayland problems and it would help to decide whether to wait or go roll back to fedora stable.

Comment 10 Alexander Kurtakov 2016-06-27 06:41:04 UTC
We can't set any expectation as issue is being researched. As soon as we find a fix upstream, patch will be backported to Fedora.

Comment 11 lejeczek 2016-06-27 10:44:14 UTC
can you clarify - so it's not eclipse nor java pacakges but gnome+gtk3 that one would have to get correct, working versions in order to fix this problem?

Comment 12 Alexander Kurtakov 2016-06-27 11:33:59 UTC
So SWT uses gtk_widget_override_font which has been deprecated for some time in gtk and its behavior changed. There is wip patch available at https://git.eclipse.org/r/#/c/75861 that uses the CSS machinery as GTK devs have been advertizing but is not fully ready yet.

Comment 13 Jan Kurik 2016-07-26 04:03:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 14 Eric Williams 2016-07-29 13:46:46 UTC
This issue is fixed in GTK master and should be included in their 3.21.5 release. I've marked the upstream Eclipse bug as fixed.

Comment 15 Alexander Kurtakov 2016-08-16 09:17:02 UTC
Eric, should we close this bug too?

Comment 16 Eric Williams 2016-08-16 13:57:45 UTC
(In reply to Alexander Kurtakov from comment #15)
> Eric, should we close this bug too?

The bug is fixed and merged upstream, but it doesn't seem like they've released 3.21.5 so the fix won't have landed in rawhide yet. At this point it's just a matter of time until the fix lands in Fedora so I'm fine with closing this bug.

Comment 17 Eric Williams 2016-09-12 18:39:30 UTC
GTK3.21.5 has been released, marking as closed.