Offscreen window stealing focus

4 views (last 30 days)
Isaac Pedisich
Isaac Pedisich on 22 Jul 2015
Answered: Daan Hubert on 10 Sep 2018
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 Comments
Bram Bamps
Bram Bamps on 4 Aug 2016
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
Daan Hubert
Daan Hubert on 10 Sep 2018
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.

Sign in to comment.

Answers (1)

Daan Hubert
Daan Hubert on 10 Sep 2018
Just figured out that changing windowmanager from twm to fluxbox resolved my issue.

Categories

Find more on Interactive Control and Callbacks 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!