Undocked Editor, ctrl+shift+0 doesn't bring editor to front as active window

Hello,
I run a X11 forwarded instance of matlab 2017a (ran from a linux server) with a tabbed, undocked, editor on a windows machine. I love motion binds (vim user btw), and I often jump between the command window and editor with ctrl+0, ctrl+shift+0 respectfully.
I noticed that the undocked editor is not brought to the front as my active window despite my cursor being in that window and can still type. I then windows alt-tab to the editor to bring the window to the front and lose my cursor.... making me regrettably pick up my mouse.
Ex. I have a chat client open over my editor on my right monitor and I am working in the command window on my left monitor. I then open a script or ctrl+shift+0 over to the editor and the editor window is not brought to the front of the chat client.
Any Ideas on how I can tweak these settings to bring to front via matlab keybind? (Looking into X11 settings currently)

5 Comments

No luck with x11 or windows window manager tweaks to get the desired behaviour
Hi @Peter,
I understand the issue at hand, I just want to confirm you are undocking the editor/live editor and not undocking the ".m" file on the editor. As on my end, I am able to navigate to the undocked editor with "Ctrl+Shift+0" shortcut. But this does not work to jump on an undocked ".m" or ".mlx" file.
Thanks for looking into this! I am undocking the entire editor, and am also able to navigate to the editor. The window behaviour is where I am stuck.
Hi @Peter,
I am not able to reproduce the issue on my end. Maybe I am missing something. Can you layout the steps that you followed and explain the issue a bit more?
I think the issue lies in the x11 forwarding matlab. The config. is in the original post.

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2017b

Asked:

on 22 Aug 2024

Edited:

on 9 Sep 2024

Community Treasure Hunt

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

Start Hunting!