Bug 489611 - [GTK3] Scroll Bar Flickering
Summary: [GTK3] Scroll Bar Flickering
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-03-14 23:30 EDT by James Sola CLA
Modified: 2016-04-04 23:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Sola CLA 2016-03-14 23:30:17 EDT
Pictures are worth 1000 words. Videos are worth more. Here's a recording of the bug:

https://youtu.be/caMr7yb64Fc

I'm not hitting any keys. Hovering over the annotation closes it, which is strange.

Additionally, the scroll bar rubber bands.

I'm running Ubuntu 15.10, however this problem has been happening for a while now (6 or so months). I downloaded Mars this evening and built the tar ball, so I know that Eclipse is up to date. I verified this by checking for updates within eclipse, which showed no updates.
Comment 1 Brian de Alwis CLA 2016-03-15 22:46:46 EDT
Could you try running with SWT_GTK3=0 in your environment?
Comment 2 James Sola CLA 2016-03-29 22:14:55 EDT
Hi Brian,

I've added it (at least I think I have).

Please see the following: http://pastebin.com/3YwMmV7d

I'm still having the problems. Thanks.
Comment 3 Brian de Alwis CLA 2016-03-29 23:03:33 EDT
Oops, SWT_GTK3 is an environment variable set in your shell before you start Eclipse.

But you can add the following lines to your eclipse.ini file:

   --launcher.GTK_version
   2

See  bug 430736#c44 for an example.
Comment 4 Brian de Alwis CLA 2016-03-29 23:04:07 EDT
(In reply to Brian de Alwis from comment #3)
> See  bug 430736#c44 for an example.

See bug 430736 comment 44 for an example.
Comment 5 Markus Keller CLA 2016-04-01 14:16:46 EDT
The auto-closing hovers are bug 490933. The only workaround in Mars (4.5.2) is to run with GTK2.

I'm not sure what the problem with the jumping scroll bars is.
Comment 6 James Sola CLA 2016-04-04 23:21:56 EDT
Hi All,

After applying the two lines listed above, the scroll bars are no longer flickering, and have defaulted to gray scroll bars.

I'm perfectly happy settling with gray scroll bars, instead of the hover bars which flicker.