Mouse cannot interact with undocked windows in Linux for Matlab 2014b+

2 Ansichten (letzte 30 Tage)
Ced
Ced am 8 Okt. 2015
Kommentiert: Ced am 23 Nov. 2015
Hi
Using Linux, when I have undocked windows (e.g. figures), my mouse cannot interact with them. Instead, my mouse pointer is registered on the whatever is behind the window, i.e. it's like if the undocked window is "transparent".
Sometimes, the interaction works for a little bit (usually a few seconds), and then just stops. I found this thread ( Ubuntu Forum Thread ) where they seem to describe the same issue without working solution.
This issue has appeared for me since Matlab 2014b, but now also on 2015a. I am using Linux Mint 17 as well as Ubuntu 12.04 (on two separate machines), the problem appears on both platforms.
One workaround I found is to have everything docked, i.e. add this at the beginning of your script:
set(0, 'DefaultFigureWindowStyle', 'docked')
Has anyone had similar problems? Thanks!

Akzeptierte Antwort

Tim
Tim am 23 Nov. 2015
Had the same problem and found this related question with solution:
  1 Kommentar
Ced
Ced am 23 Nov. 2015
Thanks, that solved it. Was actually forwarded by the Matlab team to the same link, forgot to put the solution here.
However, the case is slightly different for me, so for further reference: I am not using KDE (the link talks about a KDE bug), but am indeed working with multiple keyboard layouts. Putting the keyboard layout I am using for matlab in first position solved the problem. While working, you can reset the keyboard layouts manually with e.g.
setxkbmap 'ch(de),en'
following the same languages as in the link. For a permanent solution, reorder the languages in the system settings.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by