Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 459117 - [GTK3] [GTK3.14] Leaking text from list in target-platform preference page
Summary: [GTK3] [GTK3.14] Leaking text from list in target-platform preference page
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.5 M7   Edit
Assignee: Snjezana Peco CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 482230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-04 07:45 EST by Mickael Istria CLA
Modified: 2018-01-15 15:51 EST (History)
6 users (show)

See Also:


Attachments
Screenshot showing issue symptom (109.79 KB, image/png)
2015-02-04 07:45 EST, Mickael Istria CLA
no flags Details
issue reproduced (45.95 KB, image/png)
2015-04-16 11:41 EDT, Leo Ufimtsev CLA
no flags Details
with patch looks better. (69.20 KB, image/png)
2015-04-16 11:42 EDT, Leo Ufimtsev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2015-02-04 07:45:11 EST
Created attachment 250499 [details]
Screenshot showing issue symptom

I'm using Eclipse 4.5 with SWT 3.104.0.v20150126-1901 on Fedora 21.

I often see some tree or list widgets which have their content "leaking" in the parent widget.
Recent example is the Target Platform preference page (see attached screenshot).
Comment 1 Mickael Istria CLA 2015-04-10 05:14:09 EDT
@Snjezana: Is it possible that you fix for bug 446075 also fixed that?
Comment 2 Snjezana Peco CLA 2015-04-10 08:24:43 EDT
(In reply to Mickael Istria from comment #1)
> @Snjezana: Is it possible that you fix for bug 446075 also fixed that?

No, it isn't. It can be reproduced in the N20150408-2000 build. 
The issue can't be reproduced in GTK >= 3.14.9 (I have tested 3.10.6, 3.12.0, 3.14.8, 3.14.9 and 3.16.0).
Will try to fix or find a workaround for lower versions of GTK.
Comment 3 Eclipse Genie CLA 2015-04-14 09:05:54 EDT
New Gerrit change created: https://git.eclipse.org/r/45802
Comment 4 Snjezana Peco CLA 2015-04-14 09:07:18 EDT
I have created a workaround. See https://git.eclipse.org/r/45802
Comment 5 Mickael Istria CLA 2015-04-14 09:17:49 EDT
I've tried to update from GTK 3.14.8 to 3.14.12 (using yum and Fedora repositories) and I could still see this problem with a Mars M6.
Comment 6 Snjezana Peco CLA 2015-04-14 09:25:35 EDT
I will test the 3.14.12 version of GTK.
Comment 7 Snjezana Peco CLA 2015-04-14 13:31:59 EDT
(In reply to Mickael Istria from comment #5)
> I've tried to update from GTK 3.14.8 to 3.14.12 (using yum and Fedora
> repositories) and I could still see this problem with a Mars M6.

The issue doesn't happen in the versions of GTK >= 3.14.9 (including the 3.14.12 version), but you need to use a build that includes the fix for bug 446075.
I am using N20150408-2000.
Comment 8 Leo Ufimtsev CLA 2015-04-16 11:41:25 EDT
Created attachment 252469 [details]
issue reproduced
Comment 9 Leo Ufimtsev CLA 2015-04-16 11:42:22 EDT
Created attachment 252470 [details]
with patch looks better.

I tested on Gtk3.12 and reproduced the issue. With the patch the issue goes away.

+1 for patch.
Comment 11 Alexander Kurtakov CLA 2015-04-16 12:56:11 EDT
Thanks for the patch Snejana. In master now.
Comment 12 Niraj Modi CLA 2015-05-27 03:32:14 EDT
(In reply to Eclipse Genie from comment #10)
> Gerrit change https://git.eclipse.org/r/45802 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=a448e5fba612fd4d50d640de1bf1837494976dba

Above fix has caused issue in Table, refer bug 468208 - [GTK3] Background not painted correctly when using SWT.EraseItem
Comment 13 Alexander Kurtakov CLA 2018-01-15 15:51:21 EST
*** Bug 482230 has been marked as a duplicate of this bug. ***