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

Bug 472517

Summary: [GTK3][Dialogs] Unreadable buttons, bottom+right border overlaps
Product: [Eclipse Project] Platform Reporter: Amedee Van Gasse <amedee-eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: ericwill, joaoraf, loskutov
Version: 4.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
buttons get cut off none

Description Amedee Van Gasse CLA 2015-07-13 09:54:03 EDT
Created attachment 255167 [details]
buttons get cut off

Ubuntu 15.04
Eclipse Mars 4.5.0
OpenJDK 1.7.0_79

In dialogs, the right and bottom border is very thick and overlaps buttons, making them unreadable. See attached screenshot.

Already done: deleted ~/eclipse and ~/.eclipse and did clean install.
Comment 1 Andrey Loskutov CLA 2015-07-13 09:55:47 EDT
Can you please add few more details (see http://javaclipse.blogspot.de/2015/06/mars-on-linux.html)?
Comment 2 Amedee Van Gasse CLA 2015-07-15 08:40:42 EDT
The issue does not occur when I export SWT_GTK3=0.

I am not using KDE but XFCE. My current gtk theme is Radiance. I am willing to try out any recommended gtk theme.

These are my gtk versions:

amedee@iTextQA:~/eclipse$ apt list | grep installed | grep libgtk2.; apt list | grep installed | grep libgtk-3.

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libgtk2-notify-perl/vivid,now 0.05-4build1 amd64 [installed,automatic]
libgtk2-perl/vivid,now 2:1.2492-4 amd64 [installed]
libgtk2-trayicon-perl/vivid,now 0.06-2build1 amd64 [installed,automatic]
libgtk2.0-0/vivid,now 2.24.27-0ubuntu1 amd64 [installed]
libgtk2.0-bin/vivid,now 2.24.27-0ubuntu1 amd64 [installed]
libgtk2.0-cil/vivid,now 2.12.10-5.1 amd64 [installed,automatic]
libgtk2.0-cil-dev/vivid,now 2.12.10-5.1 amd64 [installed,automatic]
libgtk2.0-common/vivid,now 2.24.27-0ubuntu1 all [installed]

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libgtk-3-0/now 3.16.2-0ubuntu1~14.10~ricotz0 amd64 [installed,local]
libgtk-3-bin/now 3.16.2-0ubuntu1~14.10~ricotz0 amd64 [installed,local]
libgtk-3-common/now 3.16.2-0ubuntu1~14.10~ricotz0 all [installed,local]
amedee@iTextQA:~/eclipse$ dpkg -l | grep libgtk2.; dpkg -l | grep libgtk-3.
ii  libgtk2-notify-perl                                         0.05-4build1                                         amd64        Perl interface to libnotify
ii  libgtk2-perl                                                2:1.2492-4                                           amd64        Perl interface to the 2.x series of the Gimp Toolkit library
ii  libgtk2-trayicon-perl                                       0.06-2build1                                         amd64        Perl interface to fill the system tray
ii  libgtk2.0-0:amd64                                           2.24.27-0ubuntu1                                     amd64        GTK+ graphical user interface library
ii  libgtk2.0-0:i386                                            2.24.27-0ubuntu1                                     i386         GTK+ graphical user interface library
ii  libgtk2.0-bin                                               2.24.27-0ubuntu1                                     amd64        programs for the GTK+ graphical user interface library
ii  libgtk2.0-cil                                               2.12.10-5.1                                          amd64        CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-cil-dev                                           2.12.10-5.1                                          amd64        CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-common                                            2.24.27-0ubuntu1                                     all          common files for the GTK+ graphical user interface library
ii  libgtk-3-0:amd64                                            3.16.2-0ubuntu1~14.10~ricotz0                        amd64        GTK+ graphical user interface library
ii  libgtk-3-bin                                                3.16.2-0ubuntu1~14.10~ricotz0                        amd64        programs for the GTK+ graphical user interface library
ii  libgtk-3-common                                             3.16.2-0ubuntu1~14.10~ricotz0                        all          common files for the GTK+ graphical user interface library
Comment 3 Andrey Loskutov CLA 2015-07-15 08:49:35 EDT
Please try with "default" Gnome 3 Adwaita theme. If this issue still there, it must be on SWT side.
Comment 4 Eric Williams CLA 2015-07-27 08:41:04 EDT
I have been unable to reproduce this on GNOME3, using the default theme with Gtk3.16.5 and Mars 4.5.0.

Are there any other steps to necessary reproduce this bug?
Comment 5 Joao Nicola CLA 2015-11-30 10:42:15 EST
I am also experiencing this bug in every dialog. I can provide any configuration details you may consider useful to diagnose it.
Comment 6 Eric Williams CLA 2018-04-11 11:54:51 EDT
Ping, does this still occur?
Comment 7 Eric Williams CLA 2018-04-18 16:36:37 EDT
Closing due to lack of response. Please file a new bug if the issue persists in 4.8 on GTK3.22.