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

Bug 496892

Summary: [GTK3] Active viewer item leaks outside its bounds
Product: [Eclipse Project] Platform Reporter: Timo Katajamaki <tka>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: ericwill
Version: 4.6Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
screenshot of Target Platform preference page none

Description Timo Katajamaki CLA 2016-06-28 02:43:12 EDT
Created attachment 262743 [details]
screenshot of Target Platform preference page

We see Tree and Table items leak their content (active selection background and in other cases the text too) outside the viewer on Linux x86_64 and GTK3. Screenshot attached.

One way to reproduce this is to:

1. download Eclipse Neon 4.6.0 for RCP/RAP developers
2. start eclipse
3. go to Preferences->Plug-in Development->Target Platform
4. select a target platform in the viewer so it becomes active
5. drag the right edge of the dialog


OS: Debian 8.3, amd64

Version: Neon Release (4.6.0)
Build id: 20160613-1800

$ dpkg -l|grep libgtk
ii  libgtk-3-0:amd64                      3.4.2-7
ii  libgtk-3-bin                          3.4.2-7
ii  libgtk-3-common                       3.4.2-7
ii  libgtk-vnc-2.0-0                      0.5.0-3.1
ii  libgtk2-perl                          2:1.244-1
ii  libgtk2.0-0:amd64                     2.24.10-2
ii  libgtk2.0-bin                         2.24.10-2
ii  libgtk2.0-cil                         2.12.10-5
ii  libgtk2.0-common                      2.24.10-2
Comment 1 Eric Williams CLA 2016-06-28 11:06:54 EDT
I can't reproduce this bug. I suspect that the GTK version is at play in this case: 3.4 is quite old. I tested as far back as 3.14 and I couldn't reproduce the issue.

OS: Fedora 24
Eclipse: 4.6 using SWT from master
GTK: 3.20 - 3.14
Comment 2 Timo Katajamaki CLA 2016-06-29 01:26:57 EDT
Good catch about the version number. I posted GTK versions from the wrong machine. Eclipse Neon will not start in GTK3 mode on the machine that has 3.4 version of GTK3.


The real GTK versions for the machine I took the screenshot with is:

ii  libgtk-3-0:amd64                      3.14.5-1+deb8u1
ii  libgtk-3-bin                          3.14.5-1+deb8u1
ii  libgtk-3-common                       3.14.5-1+deb8u1
ii  libgtk-vnc-2.0-0                      0.5.3-1.3 
ii  libgtk2-perl                          2:1.2492-4
ii  libgtk2.0-0:amd64                     2.24.25-3
ii  libgtk2.0-bin                         2.24.25-3
ii  libgtk2.0-common                      2.24.25-3
Comment 3 Eric Williams CLA 2018-03-20 11:56:25 EDT
I cannot reproduce this issue on 4.8 M6, GTK3.22, Fedora 27. Please re-open the bug if you continue to experience the issue on the latest 4.8 milestone build.