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

 
 

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

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
Mon 15 Oct 2018 11:12:26 AM UTC, comment #3: 

I have pushed the patch here:

http://hg.savannah.gnu.org/hgweb/octave/rev/ea5182364e5f

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

Pantxo Diribarne <pantxo>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    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 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 &quot;resize&quot; 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.13-4448.
    Corresponding source code