Bug 568554 - Annoying flicker in package explorer tree view when Eclipse is busy
Summary: Annoying flicker in package explorer tree view when Eclipse is busy
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-05 05:36 EST by Mat Booth CLA
Modified: 2020-11-05 16:07 EST (History)
3 users (show)

See Also:


Attachments
Screencast showing flickering (1013.05 KB, video/webm)
2020-11-05 05:36 EST, Mat Booth CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mat Booth CLA 2020-11-05 05:36:20 EST
Created attachment 284680 [details]
Screencast showing flickering

I installed Eclipse 4.17 from Flathub on Fedora 33:

$ flatpak install flathub org.eclipse.Committers

Eclipse Build: 4.17.0.I20200902-1800
Gnome Platform/GTK version: 3.36/3.24.23
OS/Display: Fedora 33/Wayland

I notice that when Eclipse is busy doing something to projects (i.e. compiling/building after importing a large project set) I get an annoying flickering in the package explorer tree view

I attached a screencast illustrating the problem. In case it's too big for BZ I also uploaded it here: https://fedorapeople.org/~mbooth/package_explorer_flicker.webm

I have no idea how to debug such issues, but I assume it is SWT related.

Let me know if I can provide more information
Comment 1 Mat Booth CLA 2020-11-05 05:39:33 EST
CC'ing Paul: Hi, do you have any insight about this?
Comment 2 Andrey Loskutov CLA 2020-11-05 05:41:00 EST
See also same effect reported in bug 514171. May be that got worse now, I wonder if it would be better for you if you would switch Appearance / themes off.
Comment 3 Mat Booth CLA 2020-11-05 06:30:19 EST
(In reply to Andrey Loskutov from comment #2)
> See also same effect reported in bug 514171. May be that got worse now, I
> wonder if it would be better for you if you would switch Appearance / themes
> off.

Hmm, interesting thanks for the tip. The problem does indeed go away when I disable theming.
Comment 4 Andrey Loskutov CLA 2020-11-05 06:51:23 EST
(In reply to Mat Booth from comment #3)
> (In reply to Andrey Loskutov from comment #2)
> > See also same effect reported in bug 514171. May be that got worse now, I
> > wonder if it would be better for you if you would switch Appearance / themes
> > off.
> 
> Hmm, interesting thanks for the tip. The problem does indeed go away when I
> disable theming.

Many problems go away by disabling themes :-)

We've switched that off by default in the lab, because it causes a **huge** overhead, especially if running Eclipse on remote host via ssh.

Basically by its nature an extra "theme" on top of native widgets causes more redraws and so more flickering cheese in your case (or more network traffic for ssh).
Comment 5 Soraphol (Paul) Damrongpiriyapong CLA 2020-11-05 16:07:29 EST
(In reply to Mat Booth from comment #1)
> CC'ing Paul: Hi, do you have any insight about this?

Unfortunately no, I have been experiencing the same, but haven't found the cause.