[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporaril
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window |
Date: |
Wed, 13 Mar 2024 17:21:14 -0400 (EDT) |
Update of bug #65459 (group octave):
Status: Confirmed => Patch Submitted
_______________________________________________________
Follow-up Comment #4:
I don't see this, but I can see how it could happen. The code in uifigure.m
is
h = __go_figure__ (NaN, "handlevisibility", "off",
"numbertitle", "off", "integerhandle", "off",
"menubar", "none", "toolbar", "none");
## Add uifigure-specific properties on top of regular figure graphics
object
## FIXME: There is no implementation behind these properties.
addproperty ("AutoResizeChildren", h, "boolean", "on");
addproperty ("Scrollable", h, "boolean", "off");
## Apply any overrides.
if (! isempty (varargin))
set (h, varargin{:});
endif
The figure is first created, and then more code is executed, and then the
additional properties, such as "visible"/"off", are applied. On a relatively
slow machine this could result in the figure being shown and then hidden.
Try the attached replacement uifigure.m which applies the overrides directly
in the first call to __go_figure__.
(file #55831)
_______________________________________________________
Additional Item Attachment:
File name: uifigure.m Size:2 KB
<https://file.savannah.gnu.org/file/uifigure.m?file_id=55831>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-f8f7bbf81c577615bb5afa7e19a78859ed7679d6.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65459>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Nicholas Jankowski, 2024/03/13
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Dmitri A. Sergatskov, 2024/03/13
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Nicholas Jankowski, 2024/03/13
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Dmitri A. Sergatskov, 2024/03/13
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window,
Rik <=
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Markus Mützel, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Rik, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Nicholas Jankowski, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Nicholas Jankowski, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Rik, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Markus Mützel, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Nicholas Jankowski, 2024/03/14
- [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window, Rik, 2024/03/19