https://bugzilla.redhat.com/show_bug.cgi?id=1500412
Bug ID: 1500412 Summary: Eclipse + Wayland + HiDPI = huge icons Product: Fedora Version: 27 Component: eclipse Assignee: akurtako@redhat.com Reporter: rderooy@lenovo.com QA Contact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, andjrobins@gmail.com, dbhole@redhat.com, ebaron@fedoraproject.org, eclipse-sig@lists.fedoraproject.org, jerboaa@gmail.com, jjohnstn@redhat.com, krzysztof.daniel@gmail.com, lef@fedoraproject.org, mat.booth@redhat.com, rgrunber@redhat.com
Created attachment 1336784 --> https://bugzilla.redhat.com/attachment.cgi?id=1336784&action=edit 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
--- Comment #1 from Robert de Rooy rderooy@lenovo.com --- Created attachment 1336785 --> https://bugzilla.redhat.com/attachment.cgi?id=1336785&action=edit Eclipse menu drop down
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
Robert de Rooy rderooy@lenovo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |Eclipse Project 492433
--- Comment #2 from Robert de Rooy rderooy@lenovo.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
--- Comment #3 from Mat Booth mat.booth@redhat.com --- (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.
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
Mat Booth mat.booth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rderooy@lenovo.com Flags| |needinfo?(rderooy@lenovo.co | |m)
--- Comment #4 from Mat Booth mat.booth@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
Robert de Rooy rderooy@lenovo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(rderooy@lenovo.co | |m) |
--- Comment #5 from Robert de Rooy rderooy@lenovo.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
--- Comment #6 from Ben Cotton bcotton@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1500412
Ben Cotton bcotton@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |EOL Last Closed| |2018-11-30 14:25:15
--- Comment #7 from Ben Cotton bcotton@redhat.com --- 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.
eclipse-sig@lists.stg.fedoraproject.org