Why does my figure lose focus after I select one of the items in a popup menu on MacOS using MATLAB 7.0 (R14)?

2 views (last 30 days)
When I select an item in a popupmenu, the window loses focus, on MacOS using MATLAB 7.0 (R14). I have to click on the window to bring it back into focus before I can interact with the window in any other way.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This behavior is a known issue on MATLAB 7.0 (R14) on MacOS. It occurs because of the use of the X11 windows manager, in conjunction with the fact that popup menus are in fact small X11 windows.
In order to make X11 set the focus to the window that was last active when the active window is closed, please type the following command in an X11 terminal :
defaults write com.apple.x11 wm_ffm -bool true
When you shut down and restart X11 (and MATLAB), the problem will be solved.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!