Problem with maximizing figure window in MATLAB 2016a
Ältere Kommentare anzeigen
After maximizing figure in MATLAB 2016a on my Linux machine, the figure window behaves weirdly. Mouse actions happen somewhere other than where they are intended to. Any idea? Attaching are the examples: zooming-in and selecting options.
4 Kommentare
Pedro Palhares
am 15 Mai 2017
Have you ever found an answer for this problem?
Rainer
am 22 Mai 2017
I have experienced this problem too. Could you solve it in the meantime?
svooo
am 7 Aug. 2017
Hey, Just wanted to say I also experience the same problem. In my case it is not only on figures, but with the main window as well, if I maximize it. which Linux Distro are you using? I noticed it happens only on GTK3 based DEs, like Cinnamon or Gnome (I guess Unity should be on the list as well), but I dont remember this happening with KDE Plasma desktop
svooo
am 7 Aug. 2017
Well, I submitted a bug report to Matlab and it turned out that some versions of Java doesn't play well with GTK due to some sort of bug in java. so changing the command to start matlab with the system java version solved the problem from me. the following I adopted from Arch wiki
MATLAB_JAVA=/usr/lib/jvm/java-7-openjdk/jre matlab
I tried both java-7-openjdk and java-8-openjdk, in both cases the issue disappeared
Akzeptierte Antwort
Weitere Antworten (1)
Mahaveer Jain
am 25 Mär. 2019
0 Stimmen
The above solution work but in case if you get error at startup, you can use oracle Java (/usr/lib/jvm/oracle_jdk8) which I felt better experience than openjdk.
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!