[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56260] msgbox with opt struct fails when no t
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #56260] msgbox with opt struct fails when no title specified |
Date: |
Fri, 3 May 2019 03:33:48 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299 |
URL:
<https://savannah.gnu.org/bugs/?56260>
Summary: msgbox with opt struct fails when no title specified
Project: GNU Octave
Submitted by: arb
Submitted on: Fri 03 May 2019 07:33:46 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Any
_______________________________________________________
Details:
with this script:
% script msgbox_demo.m
opt.WindowStyle = 'modal';
opt.Interpreter = 'none';
msgbox('msgbox with a title', 'title', opt);
msgbox('msgbox without a title', '', opt);
msgbox('msgbox without a title', opt);
the first and 2nd msgboxes will be displayed, but the last call gives this
error message, where I expected it to display the message in an undecorated
msgbox
octave msgbox_demo.m
error: msgbox: TITLE must be a string
error: called from
msgbox at line 98 column 5
msgbox_demo at line 6 column 1
warning: gh_manager::do_close_all_figures: some graphics elements failed to
close.
A work around is to specify an empty title.
By the way, when executed from the command line as octave msgbox_demo.m I get
the gh_manager warning. Maybe this warrants a separate report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56260>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56260] msgbox with opt struct fails when no title specified,
A.R. Burgers <=