Community
Participate
Working Groups
When running under Wayland (Arch Linux, Gnome 3.36) The window title bar is bigger compared to other GTK3 apps. Looks like the min/max/close buttons have wrong padding.
Created attachment 282956 [details] eclipse.png
Created attachment 282957 [details] gvim.png
See the attachments. The gvim app has smaller and round close button while the eclipse has oval shaped close button.
Created attachment 283736 [details] Eclipse has oval, instead of round, window buttons (close, maximize, minimize) in Wayland I'm affected by this bug too. Eclipse has oval, instead of round, window buttons (close, maximize, minimize) in Wayland GNOME Shell. This issue happens in Wayland, and not in X11, in GNOME Shell on Ubuntu 20.04. Steps to reproduce: 1. Log into a Wayland gnome-shell session 2. Install Eclipse IDE locally 3. Start Eclipse 4. Observe the window buttons (close, maximize, minimize) 5. The window buttons are oval (horizontally stretched) instead of round See the attached screenshot. Version information: - Eclipse 2020-06 (4.16.0) - GTK 3.24.20 - Ubuntu 20.04 GTK developers say that since this is happening only in Eclipse, it should be discussed with the Eclipse developers first: https://gitlab.gnome.org/GNOME/gtk/-/issues/2947
(In reply to Amr Ibrahim from comment #4) > GTK developers say that since this is happening only in Eclipse, it should > be discussed with the Eclipse developers first: > https://gitlab.gnome.org/GNOME/gtk/-/issues/2947 I could only assume we set some GTK flags for rendering our internal window area and that this somehow changes the way how window *decorations* are rendered. But this would be still a bug in GTK.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=563714#c13 I suggested them to remove title bar(for the reason that the title bar is too tall) and show info in menu bar instead, but they refused.
Looks like some css from eclipse is causing this issue. A workaround is to create a `~/.config/gtk-3.0/gtk.css` with following content: headerbar.default-decoration button.titlebutton { padding: 5px 0px; min-height: 0px; }