Eclipse Scroll Pane Cutting Parts of its Content Away - linux

Like I say in the title, Eclipse Neon's scroll panes cut away parts of their content. Here's a screenshot showing what I mean:
Notice they light-gray rectangles at the bottom, side, and top of the scroll pane containing the Java code. Same thing happens with any other scrollable GUI object in Eclipse, and it's becoming rather annoying.
This is happening in the latest version of Eclipse Neon running on Ubuntu 16.04 with the latest OpenJDK.
Any help with resolving this issue is appreciated.

It turned out I was using a GTK+ theme than did not work well with Eclipse, and was causing said issue (the theme in question was a Windows-10-lookalike theme).

Related

After upgrading to Android Studio 4.1 why doesn't the text in my CheckBox controls display in runtime (but does display in design mode)?

Here's a snapshot of my app where you can see the running app which has missing text and you can see the text that should be displaying (which is properly displaying in design mode).
Why isn't the text displaying at runtime?
This only started happening when I updated to version 4.1 of Android Studio and rebuilt my app.
Additionally, here is how they are defined in the layout xml:
Here's a view of the layout details of the one checkbox that is not displaying the text:
Notice that it is showing text size in PT (points).
I changed it to sp after choosing from droplist and now it displays properly.
Not sure why this has always worked in the past and suddenly stopped working.
If it is a change I would expect an auto-update functionality when Android Studio upgrades the project.
Should Not Work In Design Mode Either
If it is a problem I would also expect it to display improperly in the Design Mode also. Instead it looks correct in design mode even though runtime doesn't display it. In this way I would've understood that I was using an incorrect unit.
TextView Also
I found that this was also happening in many of my TextView controls.

Eclipse editor draws horizontal/vertical lines during scrolling down/right

The following thing happens when I just scroll down/right the code in the editor using the mouse (both using the wheel and the click-and-scroll, with the keyboard the problem doesn't exist).
It clearly looks like an editor re-paint problem. Instead, when I scroll up/left, the orange lines disappear.
I have already tried with no success the solutions proposed at Eclipse Mars blurs and Eclipse Mars Scrolling in Lubuntu.
EDIT:
No update for Eclipse are available (I have the latest version)

Matlab linux GUI glitches

I've been having this problem with the Matlab GUI (linux) that has been annoying me for over a year but I still haven't found a solution.
Basically, the autofix hints are not displayed. When I move the mouse cursor over a potential warning/suggestion, a gray-background pop-up appears but the text inside is missing. The same happens when I hover over those little warning bars on the right hand side of the editor. Does anyone have any clue what might be causing this?
Screenshot: http://i58.tinypic.com/4veu.png
This happens only on my linux machine (Ubuntu 14.04 LTS, NVidia GeForce with nvidia driver).
Thanks!
For those interested, this issue appears to be related to the Unity Desktop. Mathworks does not provide a fix but suggests using a different XServer instead. Here is the answer I received from support:
This issue is known to occur due to a windowing system used with
"linux" on which MATLAB has not been tested. It has been observed that
if you are using "Unity desktop" in "linux", then the tooltips are
displayed as blanks.
To work around this issue, you may try switching off "Unity desktop".
You can refer to the following links for more information on this
issue:
http://www.mathworks.com/matlabcentral/answers/116987-empty-tooltips-in-code-analyzer
matlab code analyzer produces empty tooltips
Indeed, I tried lubuntu and XUbuntu (Xfce) and the tooltips in Matlab were working in both cases. I find Unity very handy because I got used to it, so for now, I will probably simply not use this Matlab feature. Hopefully this will be fixed eventually.
It's an old post but some people may be still looking for a solution or a hack. Well, I also had this issue on R2015a when using two monitors and hiding Ubuntu 14.04 sidebar seems to do the trick. This link explains how to do it: http://www.howtogeek.com/198218/how-to-easily-hide-the-unity-launcher-in-ubuntu-14.04/. Hope it helps!
This is accomplished, in the article, by:-
1) Select “System Settings” from the drop-down menu.
2) The “System Settings” dialog box displays. In the “Personal”
section, click “Appearance.”
3) On the “Appearance” screen, click the “Behavior” tab.
4) On the right side of the “Behavior” tab, there’s an ON/OFF switch.
Click the switch so it reads ON.
5) The ON/OFF switch also turns orange. Additional options for how to
show the hidden Unity Launcher become available in the “Auto-hide the
Launcher” section of the “Behavior” tab. Under “Reveal location,”
select whether you want to move the mouse to any location on the “Left
side” or just to the “Top left corner” of the screen to reveal the
Unity Launcher. Use the “Reveal sensitivity” slider to change the
sensitivity of the reveal location.
6) Once you have chosen your settings, close the “Settings” dialog box
by clicking the “X” button in the upper-left corner of the dialog box.
This happens to me in Ubuntu 15.10 using xfce, with two monitors connected to an Nvidia GeForce 8600 GT, one of which is rotated to portrait orientation. The "workaround", from the page Anton linked, is to resize my matlab desktop such that the red underlined text or red scrollbar annotation is in the bottom third of my left monitor. Unbelievable.
My preferred workaround is to use Python+Scipy+Matplotlib instead of Matlab.

How to change toolbars thick on eclipse? (Manjaro Linux - XFCE)

so I want to make eclipse to look a little more "compact", this, referring to the toolbar thickness. I've changed the tabs width and font size following the instructions here: Eclipse Luna UI rendering in Linux
I'd like to know if there's a way to change also that "gap" on the toolbars so I can get a little more space.
Here's a SS of my eclipse running: http://www.subeimagenes.com/img/ss-1138171.png
and I want to remove or reduce that gap I'm putting on red, any help/comment would be nice.
Thanks in advance!
Since eclipse 4.x you can modify the look and fill of controls and workspaces using CSS. See this Eclipse 4 CSS Styling- Tutorial it should help.

JavaFX HTMLEditor: centered or right aligned texts lose their alignment when selecting(marking) them

Java version : Tried both JDK 7 and 8.
OS : Windows 7
I have implemented the JavaFX HTMLEditor in to my app using FXML but now I have a problem with it. All text which have centered or right aligned, they lose their alignment and get back to left side when selecting(highlighting) the content of the HTMLEditor.
*. It is happening in the SceneBuilder preview window too.
I thought maybe it is a bug but I am not sure so asking here.
Also please let me know if there is a alternative exist to the javaFXHTMLEditor. So I can use it :).
Thank you.
I have that problem too. I think that is JavaFX bug. The same problem is when you type something in different font size in different rows. After select/highlight text by mouse from bottom right to top left fonts are changing to size from first selected row.
I've tested it on JDK7 32/64 and JDK8 32/64. No difference.

Resources