bugGNU Octave - Bugs: bug #54774, [FLTK] Figure "resize"...


bug #54774: [FLTK] Figure "resize" property is ignored

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Wed 03 Oct 2018 01:57:39 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  Closed
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.


Tue 16 Oct 2018 11:15:07 AM UTC, comment #4:

Finally, as we did for another report, I'll close this report as "Won't Fix" since I doubt anyone will add new features to the FLTK toolkit.

Pantxo Diribarne <pantxo>
Project Member
Mon 15 Oct 2018 11:12:26 AM UTC, comment #3:

I have pushed the patch here:


Since FLTK still doeq not implement this property, I'll mark this bug as FLTK specific.

Pantxo Diribarne <pantxo>
Project Member
Sun 07 Oct 2018 07:07:22 PM UTC, comment #2:

@Gyom: Thanks, I attached a patch that implements the "resize" property for Qt figures.

(file #45161)

Pantxo Diribarne <pantxo>
Project Member
Wed 03 Oct 2018 02:37:03 PM UTC, comment #1:

Yes, changing the "Position" property will work even if "Resize" is "off" in Matlab.

Guillaume <gyom>
Wed 03 Oct 2018 01:57:39 PM UTC, original submission:

The figure "resize" property has no effect, e.g.

figure ("name", "Resizable");
figure ("name", "Fixed size", "resize", "off");

Both figures can be resized by dragging the edges with the mouse. I would expect that the second figure can't be resized with mouse.

Now I don't know (and it is not clear from ML doc) if the "position" property (especially its 2 last elements) can still be changed from the interpreter using e.g.

hf = figure ('name', 'Fixed size', 'position', [0 0 100 100], 'resize', 'off');
set (hf, 'position', [0 0 200 100])

Can someone test the above example in Matlab?

Pantxo Diribarne <pantxo>
Project Member


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

Attach Files:

Attached Files
file #45161:  resize_prop.patch added by pantxo (6KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gyom (Posted a comment)
  • -email is unavailable- added by pantxo (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-16 pantxo StatusConfirmed => Wont Fix
        Open/ClosedOpen => Closed
    2018-10-15 pantxo StatusPatch Submitted => Confirmed
        SummaryFigure "resize" property is ignored => [FLTK] Figure "resize" property is ignored
    2018-10-07 pantxo Attached File- => Added resize_prop.patch, #45161
        StatusConfirmed => Patch Submitted

    Back to the top

    Powered by Savane 3.4