Bug 1500412 - Eclipse + Wayland + HiDPI = huge icons
Summary: Eclipse + Wayland + HiDPI = huge icons
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-10 14:22 UTC by Robert de Rooy
Modified: 2018-11-30 19:25 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 19:25:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Eclipse screenshot with large icons (248.16 KB, image/png)
2017-10-10 14:22 UTC, Robert de Rooy
no flags Details
Eclipse menu drop down (344.77 KB, image/png)
2017-10-10 14:23 UTC, Robert de Rooy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Eclipse Project 492433 0 None None None 2017-10-10 14:38:53 UTC

Description Robert de Rooy 2017-10-10 14:22:28 UTC
Created attachment 1336784 [details]
Eclipse screenshot with large icons

Description of problem:
When running Eclipse on Wayland on a HiDPI display, icons in title bars and menus get super sized which causes very little space to be available for other things.

This also happens in any drop down lists with icons in them, causing them not to fit on the display.

What seems to happen is that instead of the icons getting double scaled, they are getting scaled up twice to a 4x scaling.

This does not happen when running the same version of Eclipse on X11, it also does not happen with any other applications on Wayland

Version-Release number of selected component (if applicable):
eclipse-platform-4.7.1-6.fc27.x86_64
gtk3-3.22.24-1.fc27.x86_64
xorg-x11-server-Xwayland-1.19.3-8.fc27.x86_64

How reproducible:
every time

Steps to Reproduce:
1. HiDPI / UHD / 4K display
2. Wayland
3. start eclipse

Actual results:
Huge icons

Expected results:
icons scaled to 2x

Additional info:
If before starting Eclipse, I change the gnome display settings to 100x instead of the 200x scaling and then start Eclipse the icons are sized properly compared to the rest of the elements. Only issue is that everything is then very small and hard to read. If I change the setting while Eclipse is running I get strange results.

Comment 1 Robert de Rooy 2017-10-10 14:23:43 UTC
Created attachment 1336785 [details]
Eclipse menu drop down

Comment 2 Robert de Rooy 2017-10-10 14:38:54 UTC
Found the issue is already reported upstream.

They have a workaround, which is to start Eclipse from a command line using GTK2 as follows:
$ eclipse --launcher.GTK_version 2

But when I do that, all I get is the Eclipse splash screen and it does not continue.

Comment 3 Mat Booth 2017-10-10 15:51:42 UTC
(In reply to Robert de Rooy from comment #2)
> Found the issue is already reported upstream.
> 
> They have a workaround, which is to start Eclipse from a command line using
> GTK2 as follows:
> $ eclipse --launcher.GTK_version 2
> 
> But when I do that, all I get is the Eclipse splash screen and it does not
> continue.


That's right, unfortunately due to man-power we can no longer support the GTK2 back-end.

Comment 4 Mat Booth 2017-10-10 16:55:22 UTC
An alternative workaround might be to force Eclipse to run on X11 until this is fixed upstream. Does invoking Eclipse like this help?

$ GDK_BACKEND=x11 eclipse

Comment 5 Robert de Rooy 2017-10-10 20:00:35 UTC
Yes it helps. The main Eclipse UI is usable that way on Wayland. However there are still some strange things, mainly in settings dialogs where the font is sometimes very small

Comment 6 Ben Cotton 2018-11-27 17:20:45 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2018-11-30 19:25:15 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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