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

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

Ced
2015 年 10 月 8 日

コメント済み:

Ced
2015 年 11 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by