After setting up a new machine with Kubuntu 16.04 and Eclipse Neon (4.6), I observed the following behavior of all scrollbars in eclipse:
About the thin style scrollbar, I like this feature. But I dislike the feature that the vertical scrollbar disappears completely.
Does anybody know how to customize this?
I'd tested the following setups in all:
Trying out with different themes (Window → Preferences → General → Appearance) without success regarding scrollbar visibility, even when I disable theming completely.
My current workaround is to set SWT_GTK3=0
environment variable before starting eclipse. This seems to keep all the scollbars visible but with the disadvantages that the scrollbars are also shown when not needed (e.g. less content in editor window) and also the above mentioned thin style feature is not longer available.
Edit 2018-01-17:
Tried GTK_OVERLAY_SCROLLING=0
as mentioned be @gregh works also. Shows the scrollbars in a different graphic style than SWT_GTK3=0
. Now matches my system UI design better than as with SWT_GTK3=0
.
There are two types of scroll bars: vertical and horizontal.
css file in any text editor. Find the following code: ... ul#css3menu_top ul { background-color: #424542; border-color: #FFFFFF; border-radius: 6px 6px 6px 6px; border-width: 2px; box-shadow: 3.5px 3.5px 5px #000000; display: none; height: 300px; left: 0; padding: 0 10px 10px; position: absolute; top: 100%; } ...
This worked for me:
export GTK_OVERLAY_SCROLLING=0
Using Linux Mint 18 and eclipse 4.6, I meet the same problem.
And in Xed, Mint's default GUI text editor, it also occurs.
So this 'feature' is from OS rather than eclipse.
It can be resolved via:
Start menu --> Effects --> Overlay scroll bars (turn off) --> (re-login)
Linux Mint 18 is based on Ubuntu 16.04, so it should also work on Ubuntu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With