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

4 views (last 30 days)
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!

Accepted Answer

Tim
Tim on 23 Nov 2015
Had the same problem and found this related question with solution:
  1 Comment
Ced
Ced on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Desktop in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!