[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62266] uibuttongroup error from loading ofig
From: |
Liang Tang |
Subject: |
[Octave-bug-tracker] [bug #62266] uibuttongroup error from loading ofig |
Date: |
Thu, 7 Apr 2022 19:06:43 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62266>
Summary: uibuttongroup error from loading ofig
Project: GNU Octave
Submitted by: lt1234
Submitted on: Thu 07 Apr 2022 11:06:41 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: lt1234
Originator Email:
Open/Closed: Open
Release: 6.3.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
I cannot load any ofig file which contains uibuttongroup. Thanks.
(1) use the uibuttongroup example in Octave help.
% Create figure and panel on it
f = figure;
% Create a button group
gp = uibuttongroup (f, "Position", [ 0 0.5 1 1])
% Create a buttons in the group
b1 = uicontrol (gp, "style", "radiobutton", ...
"string", "Choice 1", ...
"Position", [ 10 150 100 50 ]);
b2 = uicontrol (gp, "style", "radiobutton", ...
"string", "Choice 2", ...
"Position", [ 10 50 100 30 ]);
% Create a button not in the group
b3 = uicontrol (f, "style", "radiobutton", ...
"string", "Not in the group", ...
"Position", [ 10 50 100 50 ]);
(2) save the figure as ofig
(3) double click the ofig in octave gui
(4) error message below will show. This error message is ofig dependent.
Other ofig may cause different error message.
>> warning: base_graphics_object::get_properties: invalid graphics object
warning: called from
struct2hdl>setprops at line 655 column 10
struct2hdl at line 213 column 3
struct2hdl at line 206 column 15
hgload at line 105 column 10
openfig at line 120 column 8
open at line 116 column 7
error: set: invalid value for selectedobject property
error: called from
struct2hdl>setprops at line 655 column 10
struct2hdl at line 213 column 3
struct2hdl at line 206 column 15
hgload at line 105 column 10
openfig at line 120 column 8
open at line 116 column 7
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62266>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62266] uibuttongroup error from loading ofig,
Liang Tang <=