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

Bug 436352

Summary: [gtk] Icons are painted partially after exiting Welcome page contents
Product: [Eclipse Project] Platform Reporter: Noopur Gupta <noopur_gupta>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, daniel_megert, ericwill, Lars.Vogel, markus.duft, markus.kell.r, pmatveev42
Version: 4.4Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 530841    
Attachments:
Description Flags
Screenshot none

Description Noopur Gupta CLA 2014-06-02 07:16:43 EDT
Created attachment 243775 [details]
Screenshot

Ubuntu 14.04
Luna I20140601-2000

- Open Help > Welcome > Overview > Workbench basics.
- Close Help window that opens in previous step.
- Close Welcome page.

The toolbar and view icons are partially painted (See attached screenshot).
Comment 1 Dani Megert CLA 2014-06-02 09:24:16 EDT
Is this always reproducible? I can't see this on Windows 7 or Mac OS X.
Comment 2 Paul Webster CLA 2014-06-02 09:37:44 EDT
I can't reproduce on RHEL 6.5.

Can you reproduce if you set SWT_GTK3=0 before you run?

PW
Comment 3 Markus Keller CLA 2014-06-02 09:51:15 EDT
Maybe the same as bug 421155?
Comment 4 Noopur Gupta CLA 2014-06-03 06:00:10 EDT
(In reply to Dani Megert from comment #1)
> Is this always reproducible? I can't see this on Windows 7 or Mac OS X.
It is always reproducible with the given steps on Ubuntu 14.04.

(In reply to Paul Webster from comment #2)
> I can't reproduce on RHEL 6.5.
> 
> Can you reproduce if you set SWT_GTK3=0 before you run?
> 
> PW
Yes, I can reproduce it by setting "export SWT_GTK3=0" before running Eclipse.
Comment 5 Lars Vogel CLA 2014-12-10 05:36:42 EST
Mhoving it to SWT for investigration.
Comment 6 Markus Duft CLA 2014-12-10 08:17:25 EST
We have the same problem with Eclipse Luna consistently on all our linux machines. It does not happen with 4.3.x

Just open Eclipse, all icons on initially visible toolbars look like on the screenshot. Restoring and re-maximizing the window fixes the problem.

Another /very/ interesting thing: it only happens when I start Eclipse from scratch. If I use the File > Restart menu, icons appear OK after restart.
Comment 7 Leo Ufimtsev CLA 2014-12-10 11:46:21 EST
Duplicate or related to this guy in some way:
Bug 393292 - Toolbar buttons cut off in ubuntu 12.10
https://bugs.eclipse.org/bugs/show_bug.cgi?id=393292
Comment 8 Lars Vogel CLA 2015-01-26 12:46:07 EST
(In reply to Noopur Gupta from comment #0)
> - Open Help > Welcome > Overview > Workbench basics.
> - Close Help window that opens in previous step.
> - Close Welcome page.
> 
> The toolbar and view icons are partially painted (See attached screenshot).

Noopur, can you still reproduce this? Works fine for me on 4.5.0.N20150124-1500 under Ubuntu 14.10.
Comment 9 Noopur Gupta CLA 2015-01-27 03:29:03 EST
(In reply to Lars Vogel from comment #8)
> (In reply to Noopur Gupta from comment #0)
> > - Open Help > Welcome > Overview > Workbench basics.
> > - Close Help window that opens in previous step.
> > - Close Welcome page.
> > 
> > The toolbar and view icons are partially painted (See attached screenshot).
> 
> Noopur, can you still reproduce this? Works fine for me on
> 4.5.0.N20150124-1500 under Ubuntu 14.10.

I can reproduce it with GTK version 2 but not with GTK 3, on Ubuntu 14.04 with 4.5.0.I20150126-2000.
Comment 10 Eric Williams CLA 2018-05-11 14:37:39 EDT
(In reply to Noopur Gupta from comment #9)
> (In reply to Lars Vogel from comment #8)
> > (In reply to Noopur Gupta from comment #0)
> > > - Open Help > Welcome > Overview > Workbench basics.
> > > - Close Help window that opens in previous step.
> > > - Close Welcome page.
> > > 
> > > The toolbar and view icons are partially painted (See attached screenshot).
> > 
> > Noopur, can you still reproduce this? Works fine for me on
> > 4.5.0.N20150124-1500 under Ubuntu 14.10.
> 
> I can reproduce it with GTK version 2 but not with GTK 3, on Ubuntu 14.04
> with 4.5.0.I20150126-2000.

GTK2 is in limited development at the moment due to manpower constraints.
Comment 11 Eric Williams CLA 2018-07-10 13:57:46 EDT
Please note: GTK2 support for SWT is being dropped in Eclipse 4.10 / SimRel 2018-12 release. 

See the following mail for more info: http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg15783.html
Comment 12 Alexander Kurtakov CLA 2018-07-12 10:17:11 EDT
Marking the bug as wontfix as no work for GTK2 issues will happen. Please reopen if you still face the issue using GTK 3.x.