How to keep scrollbars visible in Eclipse Mars and Neon on Kubuntu 16.04 - eclipse

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:
vertical scrollbar is shown in a kind of thin style
when moving the mouse over the vertical scrollbar, the scrollbar became visible with standard width
when don't moving the mouse for about 1 second, the scrollbar became invisible (smooth fading out)
when moving the mouse anywhere in the e.g. editor window, the vertical scrollbar became back visible (in thin style)
Note: The horizontal scrollbar behave different as it's get only visible when touched by the mouse pointer (hover)
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:
Kubuntu 16.04 & Eclipse Neon → scrollbar became hidden
Kubuntu 16.04 & Eclipse Mars → scrollbar became hidden
Kubuntu 16.04 & Eclipse Luna → scrollbar stays visible
Kubuntu 14.04 & Eclipse Mars → scrollbar stays visible
Kubuntu 14.04 & Eclipse Luna → scrollbar stays visible
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.

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.

Related

VS Code borders wrongly detected with "custom" Title Bar Style

I have VS Code installed using official deb packages on PopOS 22.04 (Gnome, Ubuntu derivative).
The mouse cursor annoying goes into resize mode only inside the VS Code window, not on the edge like it should. This is only present when using "Title Bar Style: custom" in settings.
See here how much inside the window cursor must go in before it changes into resize mode
System well behaving window for comparison
Tried using flatpak installation - same result.
Is there a setting I can tweak or is it a bug?

Code scrolling lags in LiClipse 4.4 with the latest PyDev

I disabled Overview Ruler Minimap and enabled vertical scrollbar.
When I scroll code using scrollbar caret or using mouse wheel, scrollbar and line numbers are scrolled immediately and smoothly. But the code is not scrolled at all and then instantly jumps to new position in 1-2 seconds
I use the latest LiclipSe 4.4 on Windows 8.1 wit Python 3.6.3
So maybe some settings can help me?
This happens because of the scrollbar theming. Eclipse started doing some operations asynchronously (which is good for non-windows platforms) but the asynchronous paint is taking more time than it should on Windows (so, this must be fixed in Eclipse itself).
Until that's fixed, the workarounds are turning off the themed scrollbar or using the overview ruler minimap and hiding the scrollbar.
the problem was in slow system speed
I upgraded my computer (Core i5 7600K instead of AMD FX-8320) and the bug disappeared

Align Eclipse toolbar icons to left

I've customize my Eclipse toolbar in Java EE perspective, removing some functionalities that I don't use, in order to save space, but Eclipse just remove it and don't align it to left. In Ubuntu, Eclipse remove it and all items are pulled to left, but in Windows a blank space is place where was the removed items were.
Is there any way to force align to left ?
I've found the problem. For some reason, no theme was selected in preferences.
Selecting "Classic" and restarting Eclipse fixed.

Eclipse - black background in javadoc popup

I am using Elementary OS, based on Ubuntu 12.04 and Eclipse Luna.
The background color of javadoc popups is black and font color is dark grey, so it is unreadable.
I tried to change background in eclipse preferences, but it did not change.
Then I used google, and found solution, that I need to change tooltip bg color. So I did it. But still no change.
Anyone knows how to change that color ?
I had the same problem with Ubuntu 16.04 and Eclipse Mars. I solved the problem by adding the following lines in eclipse.ini :
--launcher.GTK_version
2
As a KDE user, you have to change the tooltip background color with System Settings. Navigate to
Application Apperearence -> Colors (Left side menu) -> Colors (Colors tab on right side)
and adjust the Tooltip Background and Tooltip Text colors. In your case, adjusting the tooltip background should be enough.
The setting is under GNOME UBUNTU in Settings.
I would get a blank assist popup window and if I clicked on the window it would turn black and not show any text.
I tried many things to get the text to show up like changing the eclipse foreground and back ground colors or the above system settings.
I then started to look at the VcXsrv X server program I was running to display on my windows box.
I turned off the 'Native opengl' in the 'Extra Settings' screen of the XLaunch program.
This fixed my problem.

No horizontal scrollbar with the PyDev Plugin in Eclipse

I am using Eclipse Luna (4.4.0) and have recently updated the PyDev for Eclipse plugin to 3.7.
It seems since the update, my horizontal scroll bar has disappeared:
I also notice the vertical bar has changed into the "Overview Ruler Minimap" (which I like). But I really need a horizontal bar.
Does anyone know how I can get it back?
Found the solution under Preferences > PyDev > Editor > Overview Ruler Minimap.
There is an option "Show horizontal scrollbar?"