Offscreen window stealing focus

In matlab2011b, setting:
set(0,'defaultFigureVisible','off')
reliably made figures not visible, and kept them from stealing focus.
I have recently switched to using MATLAB2015a, and I'm seeing a strange behavior. Even with defaultFigureVisible set to 'off', every time that a figure would be created, instead a small white box appears in the upper left hand side of my screen, and steals focus for MATLAB.
The name of this window is HG_Peer_OffScreenWindow. I can't figure out where it's coming from, or how to make it stop appearing.
I'm working remotely via x11 forwarding. Local machine OSX, remote machine linux.
Thanks.

2 个评论

I have exactly the same problem. Also working on a local OSX machine and remote linux machine.
A regular message that started to appear after the update to the newer matlab version is:
Undefined function 'rmiml.visibleInToolstrip' for input arguments of type 'char'.
Many thanks
Bram, Isaac, were you able to solve or work around this annoying issue?
In batch mode I always create figures using (Matlab R2013b) in invisible mode to save CPUtime needed to display the graphic. But this pop-up is destroying this workflow.

请先登录,再进行评论。

回答(1 个)

Daan Hubert
Daan Hubert 2018-9-10

0 个投票

Just figured out that changing windowmanager from twm to fluxbox resolved my issue.

类别

在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by