bugGNU Octave - Bugs: bug #62425, reset() uimenu() handle should not...


bug #62425: reset() uimenu() handle should not throw error

Submitter:  Glite <linuxbckp>
Submitted:  Sun 08 May 2022 06:52:09 AM UTC
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 11 May 2022 05:15:09 PM UTC, comment #3: 

I checked in a fix for this on the stable branch (https://hg.savannah.gnu.org/hgweb/octave/rev/63710f3bd981).  Thil will be a part of the next bug fix release (7.2).

Marking as Fixed and closing report.

Rik <rik5>
Group administrator
Tue 10 May 2022 08:38:56 PM UTC, comment #2: 

Confirmed.  This is also present on the current stable release 7.1 so I have changed the Release field accordingly.

Rik <rik5>
Group administrator
Sun 08 May 2022 09:47:27 AM UTC, comment #1: 

What's more, MATLAB won't throw error by:

>> clf
>> uim=uimenu;
>> reset(uim)

So this bug may count as a compatibility bug too.

Glite <linuxbckp>
Sun 08 May 2022 06:52:09 AM UTC, original submission:  

When reset() an uimenu() handle, Octave will throw an error. That results in inconvenience of GUI development.
Here is my code:

>> clf
>> uim=uimenu

uim = -2.5316

>> reset(uim)

error: set: "position" must be greater than 0

Glite <linuxbckp>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by linuxbckp (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-11 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2022-05-10 rik5 StatusNone Confirmed
        Release6.4.0 7.1.0

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code