Matlab linux GUI glitches - linux

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.

Related

Displaying a Classification Banner at the top of each computer monitor in Gnome Desktop

I work in an environment where we have to have a security classification banner displayed at the top of each monitor on our Gnome Desktops. Currently, I am using a Perl/Tk window to display the classification of the system. However, that window cannot be moved because of the way it is built (no decorations) and occasionally overlays open windows making it difficult for users to manage those windows.
I would like to be able to do something different, but I'm not sure where to start. Three ideas I have are this:
An icon or something in the Top Bar showing the classification
A banner, like the Top Bar, that sits above the Top Bar
A window, like I already have, but relocatable
I figure the first option would be easiest, but since the Top Bar isn't shown on every monitor, that may not be the best option. I don't even know if the second option is even possible. The third option would require me to use something other than Perl/Tk but that's the only language I'm fluent in at the moment.
So I'm looking for suggestions or examples or Gnome extensions I can use to solve this problem.
Thanks.
There is a classification-banner python utility at https://github.com/fcaviggia/classification-banner. It's no longer maintained, but we've been using it without change for a few years now. It's OK. One problem is that it doesn't "shrink" the desktop screen, so application windows can overlap it; it's set to Always On Top, but it would be nicer if it actually couldn't be overlaid at all.
A simple solution, of sorts, would be to change the desktop background image. This can have issues if you're displaying on multiple resolutions (I don't know if Gnome supports SVG for such purposes) and of course it can be obscured by windows covering it.
Older versions of Gnome let you create multiple bars that worked perfectly, but that disappeared - along with many other customizations - in Gnome 3.

Eclipse Scroll Pane Cutting Parts of its Content Away

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).

What causes control text to get cut off?

My VB6 application is having a layout problem on certain end user PCs, but so far we are unable to identify what is causing this.
Normal layout:
Broken layout:
The text on the left are the captions of the radio buttons. The text in the upper right is a label.
I am familiar with two different settings in Windows Control Panel which can affect text size, and initially we suspected this was the cause. In Windows 10, they are:
Control Panel >
Appearance and Personalization >
Display >
(1) "Use these display settings" > "Customize your display"
or
(2) "Set a custom scaling level"
(Terminology was different in earlier Windows versions but I think the features were the same?)
However upon testing these settings with our app neither reproduces the problem.
What else might be causing the text layout issue shown in the image?
This appears to be caused by a Windows bug.
The description & fix as mentioned in the source website are as follows:
if you have a high resolution screen at install time, Win7 will install a larger font set (125%) by default. If you then choose go back to the standard font size (100%), Windows will keep some of the large fonts even though everything else is adjusted for standard fonts, causing programs that use these fonts to break because the text will not always fit inside the GUI.
By editing the Windows registry you can get the original, intended fonts back:
Open the start menu and type regedit and then press Enter.
Locate the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Find the value MS Sans Serif 8,10,12,14,18,24
Change from SSERIFF.FON to SSERIFE.FON
Find MS Serif 8,10,12,14,18,24
Change from SERIFF.FON to SERIFE.FON
Finally find Courier 10,12,15
Change from COURF.FON to COURE.FON
Restart your system in order for the changes to take effect!
The exact font names may vary depending on locale settings.
I was able to create the problem scenario as described here on Windows 10, and that reproduced the problem with our VB6 app. I think that confirms this as the fix.
A Microsoft blog post seems to be the authoritative original source of this information.

How to access the "change the size of all items" in the Display in Control Panel after changing it to 500%

By mistake, the option on "custom sizing options" was set at 500% in the section "change the size of all items".
The result is all elements on the screen are huge, and whereas I am able to reach the display section and through tab I am able to navigate some options on the left panel, I am unable to reach the change the size of all items section.
I have tried several things to revert it to 100%, but all have failed so far:
Restart on safe mode. Displaying it on a different monitor and proyector using both hdmi and vga. Uninstalling the graphics driver didnt help. Using the "zoom" only has option to zoom in. Changing the screen orientation to vertical in hopes of accessing more options allowed me to see the left panel but not more. Using ctrl + mouse doesnt change the size inside the Display section. The computer doesnt have a restoration point to go back to, and I cant uninstall the applications because it isnt my laptop.
I have been searching for the correct command to execute but the closest I have found is "Display Properties control desk.cpl" and it is not the command I need. By the way, the computer is a lenovo using windows 8.1 in spanish. I have tried in other computers, for example a dell in windows 8 and the percetage is limited to 200%, so I cant test it correctly.
If somebody has a solution or any suggestion please share.
English is not my mother language so please excuse the grammar and misspelings.

Guake Window Transparency on CentOS

I successfully installed Guake on CentOS using the guide found here:
http://ww.centos.org/modules/newbb/viewtopic.php?viewmode=threaded&order=ASC&topic_id=33556&forum=56&move=next&topic_time=1317663060
I've added as the last item on my startup applications list to ensure that everything loads including drivers and other daemons before Guake starts. The only problem I'm having is that Guake window can't make its background transparent.
It there anything I can do to fix the transparency problem?
This should go to superuser.com, not StackOverflow.com but I'll answer anyway: Righ click on the open guake window, select preferences, then select the Appearance tab,and at the bottom in Effects there is a slide control which lets you select the transparency level.
Any admin out there can move this question any minute, and some more overzealous user can down voted. By replying I can be down voted :-)

Resources