octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54720] Opening a msgbox, warndlg etc. after d


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #54720] Opening a msgbox, warndlg etc. after dialog freezes octave
Date: Tue, 25 Sep 2018 14:24:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Follow-up Comment #7, bug #54720 (project octave):

>From the Matlab help for 'dialog' [1]:


'modal' — The figure displays on top of all existing figure windows, making
them inaccessible as long as the top figure exists and remains modal. However,
any new figures created after a modal figure will display.

When multiple modal windows exist, the most recently created window keeps
focus and stays above all other windows until it becomes invisible, or is
returned to a normal window style, or is deleted. At that time, focus reverts
to the window that last had focus.

…

Modal Window Style Behavior

When WindowStyle is set to 'modal', the figure window traps all keyboard and
mouse actions over all MATLAB windows as long as the windows are visible.
Windows belonging to applications other than MATLAB are unaffected.

Typing Ctrl+C when a modal figure has focus causes that figure to revert to a
'normal' WindowStyle property setting. This allows the user to type at the
command line.

Figures with the WindowStyle property set to 'modal' and the Visible property
set to 'off' do not behave modally until MATLAB makes them visible. Therefore,
you can hide a modal window for later reuse, instead of destroying it.

Modal figures do not display menu children, built-in menus, or toolbars. But,
it is not an error to create menus in a modal figure or to change the
WindowStyle property setting to 'modal' on a figure with menu children. The
Menu objects exist and the figure retains them. If you reset the figure's
WindowStyle property to 'normal', the menus display.



So it should be possible to create other figures, and I guess that includes
msgbox and related 'dlg' functions. It doesn't say explicitly, so it might be
helpful for someone with Matlab access to test how dialog and msgbox work
together.

[1]: https://www.mathworks.com/help/matlab/ref/dialog.html

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54720>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]