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

Bug 431689

Summary: Flash/flicker when switching focus between editor/views on GTK3
Product: [Eclipse Project] Platform Reporter: Peter Severin <peter>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, ericwill, sravankumarl
Version: 4.4Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: Linux-GTK   
Whiteboard:

Description Peter Severin CLA 2014-04-01 03:56:18 EDT
I am testing WireframeSketcher plugin with Eclipse 4.4M6 and I have a flash/flicker problem when switching focus between editor tabs and a view (for example Project Explorer). I only see this issue on Eclipse 4.4 and I am convinced that it's a GTK3 issue as I don't experience this when running with SWT_GTK3=0 or on earlier versions of Eclipse.

Now, I am not sure how to narrow down this issue to a simple use case, but you can reproduce it easily with a default Eclipse installation + WireframeSketcher plugin. WireframeSketcher is graphical editor based on GEF so perhaps this issue can be seen with other similar plugins, but I didn't test it.

To reproduce the issue:
 1. Install WireframeSketcher into Eclipse 4.4 from http://wireframesketcher.com/updates or from Eclipse Marketplace.
 2. Run Eclipse and create a new screen (File > New > Other... > Wireframing > Screen)
 3. Switch focus to Project Explorer by clicking it's tab and then back to Screen editor also clicking on its tab. Do it several time and notice how the view and the editor flicker as the UI of the view and editor is seemingly forced to redraw.
Comment 1 Niraj Modi CLA 2014-04-02 11:53:28 EDT
Tried this, I could notice the flicker(slower redraw) when switching between WireFrame-Screen and Java-Editor on Ubuntu 13 with GTK3, whereas with GTK2 issue is not seen.
Comment 2 Eric Williams CLA 2018-08-30 15:03:30 EDT
Is this still reproducible on 4.9 with GTK3.22?
Comment 3 Eric Williams CLA 2018-10-19 14:23:11 EDT
(In reply to Eric Williams from comment #2)
> Is this still reproducible on 4.9 with GTK3.22?

No comment in awhile. Please reopen this ticket if the issue is reproducible on GTK3.22/24 with 4.9 or 4.10.