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

2 次查看(过去 30 天)
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!

采纳的回答

Tim
Tim 2015-11-23
Had the same problem and found this related question with solution:
  1 个评论
Ced
Ced 2015-11-23
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by