When I run guide in matlab it opens a blank all gray window. Whats going on? - matlab

When I run guide in Matlab, the window that opens is completely grayed out with a title "GUIDE quick start". I am running R2012b in Ubuntu 12.04.2 LTS. Has anyone else run into this problem?
UPDATE 1
So I just discovered that if I press enter on that first blank grey window then it opens the Layout Editor window and everything seems to be fine. So I am guessing that on that first screen there is just an OK button (which I cannot see) so when I press enter it is like clicking on the OK button.
UPDATE 2
I built a quick GUI and there are issues. I can create axes and buttons and sliders on the layout tool. However, when I run the GUI tool it only displays the axes, the buttons, sliders are not there.

I believe some things in MATLAB are not yet compatible with Java 7, so stick with Java 6 for the moment.
In any case, you can have both versions installed at the same time, just instruct MATLAB to use the correct version by setting the $MATLAB_JAVA environment variable.
You can then verify which version is being used by issuing the command:
>> version -java

I had a similar problem in Ubuntu, got solved by skipping Unity and starting the session with "classic gnome" instead.

Related

Visual Studio Code window is not appearing

I've encountered a very strange bug with Microsoft Visual Studio Code. I've been using VSCode for a few months now and never had this issue. When I open VSCode, the window just doesn't appear. The app is definitely open, because when I hover over the icon on my taskbar I can see what is being displayed in the app:
Unfortunately, when I click on it, the window does not appear.... I've uninstalled and reinstalled, deleted cache, tried older versions and nothing has worked. Has anyone else encountered this and fixed it? Any advice?
hover over VSCode icon in taskbar
right click on it
click on "New Window"
That should do it.
I had something similar. It appears that the window is just off-screen. I've used my DisplayFusion display manager - to move windows to center/top where I could handle it myself. I expect it'll also work using <Win> + <←> (maximize window to left side of screen).
In my case, the issue went away when uninstalling the GlassIt-VSC extension. I tried modifying the opacity of the window and then it disappeared. I highly suggest you try uninstalling this extension.
In my case I had connected HDMI cable but due to power off my monitor was off, but when I disconnected hdmi cable; VS code visible on my screen.
Got the answer since no one was helping.
Go to view.
Click solution explorer.
It should show the name of your project.
Click the small arrow at the beginning of the heading of your project.
Click source files.
Click yourproject.cpp.
Thank you.
I encountered a similar issue with a plugin called GlassIt while I was playing with a property called "glassit.alpha" somehow it went to 1 (possibly I changed it accidentally) and nothing showed up. (here's an image where you can slightly see that I set alpha to 20)
what i did was to just edit the %appdata%\..\Roaming\Code\User\Settings.json and set "glassit.alpha": 1, to 255
UPDATE I just realised there was already an answer I didn't see while I was writing this post
I had this issue during a remote desktop session and could bring the VSC window back via hitting F11 (via the onscreen keyboard in my case, since the F11 key on my keyboard was being captured by the host system).
In my case, I have a dual monitor setup, and the laptop was in clamshell mode. However, the laptop's built-in monitor was recognized as a third monitor, and VsCode was going there.

Eclipse: workspace is completely invisible

Something quite strange has happened: The whole Eclipse main window disappeared while I was debugging a Play Framework project. The Eclipse symbol in the applications bar still shows up as usual (from where I still can force Eclipse to quit).
My System (Ubuntu 14.04.) still behaves as if Eclipse was there, e. g. other applications get unfocused when choosing Eclipse in the applications bar. Meanwhile I have re-started Eclipse (that didn't help) and even re-started Ubuntu (still the same behaviour).
When I start Eclipse the workspace selection window shows regularly up. If I select another workspace, it also shows up regularly (I have created a second one to test that). Eclipse even still reacts properly on any shortcut as well as well as F10 & F11. It seems like the Eclipse main application window was "transparent". Therefore I assume that it is a problem of Eclipse resp. its workspace rather than an Ubuntu problem.
Does anybody have an idea where to maybe re-configure the workspace? Or is there even a secret function for all that?
Thanks a lot!!
Meanwhile I was able to re-get the window: I clicked on a shadow effect that sometimes showed up. I resized that shadow with my mouse. As an effect the Eclipse window top bar (the one above the menu) showed up again. Afterwards I could "pull out" the window from the bar - and there it all was again... But I have still no idea, how that happened - and what might be the solution if someone runs into that issue without having a shadow.

Eclipse IDE - Is it possible to have detached windows not always on top?

Basically I have multiple monitors for development with Eclipse. I detach some of the windows such as the "Console" view so that I can have it fill my monitor. This is great as I can fill up my screens.
However in some cases I also want to have my browser in front while I'm coding since there's some documentation I need to look at. I can't figure out how to do this without creating another perspective...
You can open a new window (Window|New Window) and drag your views into this window instead of detaching them. New windows are not connected with the main one and you can control their visibility as you wish.
The answer appears to be that you can't...
In Eclipse Luna I had the problem that floating windows were not coming up while setting the focus on the main IDE window. It happened after I changed from 32 to 64bit using the same workspace. The windows were opened and closed correctly.
What solved the problem was reintegrating the floating windows into the main IDE window and recreated floating windows again.

Why are eclipse views sometimes empty?

I have to use eclipse 3.1. I'm using it in an Ubuntu 11.04 VM (VMWare). It seems that every view I use is initially blank/empty until I close and reopen it. This is annoying but I can deal with it.
The problem is this trick doesn't work with the view for source code files.
Has anyone ever seen a similar issue? Are there any work-arounds?
I don't know if it is related. But the main menu is also initially missing. If I resize the application window, the main menu reappears.
This is a known issue with newer Linux desktops when using older versions of Eclipse.
The GTK widget set changed the default way it renders widgets. This causes versions of Eclipse that were compiled against the old GTK library to experience empty views like you saw as well as problems with ignoring some mouse clicks on buttons.
If you set this environment variable before launching Workbench then it should resolve the problem:
export GDK_NATIVE_WINDOWS=1
I verified this on Ubuntu 11.04 with Workbench 2.6 and the problem went away after I set the variable.
Best regards,
Rob

Running my program from PyDev with one click?

I am developing using the PyDev plugin in Eclipse. My program uses several classes in several files. I usually run the program using the green "play" icon or using Control+F11. The only problem is that it will run the file, which is currently in "focus". Usually this is not the one containing the starting point of my application. As I run my program something like 200 times a day, this means that I need 200 extra click on the mouse and often forget about this.
Is there any way of setting the default file to launch?
Yes, change the launching to rerun the last launched, so Ctrl+F11 will launch the last one -- and use F9 to launch the one with focus -- See instructions and details at: http://pydev.org/manual_101_run.html
For me, the shortcut is Ctrl+Shift+F9. I don't think I've changed any keybindings, so its strange that it would be different from the official documentation.
Go to Run->Run History, and select the run that is your 'main' run. Now you should be able to use Ctrl-Shift+F9 from any other file to rerun your main. If it isn't Ctrl+Shift+F9 for you, look on the console window that should be at the bottom of your screen showing the stdout after every run. There is an icon on the top of it that has the green start arrow with a yellow arrow underneath it pointing to the right. That is the command to relaunch with the same configuration. If you hover over that, it should tell you the keyboard shortcut you need.