bugGNU Octave - Bugs: bug #60808, Missing support for...


bug #60808: Missing support for "uifigure"

Submitted by:  jb <test2654>
Submitted on:  Mon 21 Jun 2021 06:10:53 PM UTC  
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  jb Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 23 Jun 2021 08:06:20 PM UTC, comment #5: 

The fig file from comment #3 will open correctly if "uitools.uibuttongroup" is added in the list of types here:
The callbacks then return an error "matrix cannot be indexed with ." but the same appears with Matlab so I didn't look any further.

Guillaume <gyom>
Wed 23 Jun 2021 05:45:28 PM UTC, comment #4: 

Matlab seems to have added `uifigure`s that are different from "normal" `figure` objects:

IIUC, "uifigure" is not a replacement for "figure" but something additional.

The .fig file seems to contain one of those `uifigure`s.

Octave doesn't have support for `uifigure` yet.

Marking this as a feature request.

Markus Mützel <mmuetzel>
Project Member
Wed 23 Jun 2021 04:10:00 PM UTC, comment #3: 

The main program is attached. vibrationdata.  The matlab version seems to be 5.0.

(file #51594, file #51595)

jb <test2654>
Tue 22 Jun 2021 06:32:33 AM UTC, comment #2: 

Thanks for your report. (Should have ended with a period, not a question mark. Sorry.)

Markus Mützel <mmuetzel>
Project Member
Tue 22 Jun 2021 06:31:38 AM UTC, comment #1: 

Thanks for your report?

Does the Octave GUI crash when you try to open that figure?

Since the stack shows that the figure opens using `gui_mainfcn`, I'm assuming that it was saved in Matlab. Do you know which version of Matlab was used to save this figure?

Markus Mützel <mmuetzel>
Project Member
Mon 21 Jun 2021 06:10:53 PM UTC, original submission:  

GUI crashes before starting.

error: struct2hdl: uitools.uibuttongroup objects are not implemented yet
error: called from
    struct2hdl at line 195 column 5
    struct2hdl at line 206 column 15
    hgload at line 105 column 10
    openfig at line 120 column 8
    gui_mainfcn at line 43 column 9
    vibrationdata at line 42 column 5

program is located at:

jb <test2654>


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

Attach Files:

Attached Files
file #51595:  vibrationdata.fig added by test2654 (19KiB - application/octet-stream)
file #51594:  vibrationdata.m added by test2654 (66KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by gyom (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by test2654 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-07-26 jwe Severity2 - Minor => 1 - Wish
    2021-06-23 mmuetzel CategoryGUI => Octave Function
        Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        Item GroupUnexpected Error or Warning => Feature Request
        StatusNeed Info => Confirmed
        Release6.2.0 => dev
        Operating SystemMicrosoft Windows => Any
        SummaryGUI crashes before starting => Missing support for "uifigure"
    2021-06-23 test2654 Attached File- => Added vibrationdata.fig, #51595
    2021-06-23 test2654 Attached File- => Added vibrationdata.m, #51594
    2021-06-22 mmuetzel StatusNone => Need Info

    Back to the top

    Powered by Savane 3.6