bugGNU Octave - Bugs: bug #59999, Full screen figure using property...

 
 

bug #59999: Full screen figure using property "outerposition" not working

Submitter:  Danny Garside <da5nsy>
Submitted:  Wed 03 Feb 2021 05:44:07 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Patch Reviewed Assigned to:  None
Originator Name:  da5nsy Open/Closed:  * Open
Release:  * 6.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 08 Feb 2021 05:34:36 PM UTC, comment #8: 

Unfortunately there are some weird timing bugs in Octave's plotting interface.  Also, there could be an interacting with the windowing system.  Sometimes, Octave makes a change but the windowing system is flagged that it needs to update.

Is there something else we need to do to make this behave like the position property?  This code does work for me:


set (figure(), 'units', 'normalized', 'position', [0 0 1 1])


while this does not


set (figure(), 'units', 'normalized', 'outerposition', [0 0 1 1])


Rik <rik5>
Group administrator
Sat 06 Feb 2021 01:25:43 AM UTC, comment #7: 


octave:8> tic; set (figure (), 'units', 'normalized', 'outerposition', [0 0 1 1]); toc
Elapsed time is 0.212238 seconds.
octave:9> tic; set (figure (), 'units', 'normalized', 'outerposition', [0 0 1 1]); toc
Elapsed time is 0.252445 seconds.
octave:10> tic; set (figure (), 'units', 'normalized', 'outerposition', [0 0 1 1]); toc
Elapsed time is 0.108593 seconds.


The ~0.2 sec runs resulted in a full-screen figure, 0.1 sec run
resulted in a default-sized figure.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 06 Feb 2021 01:21:47 AM UTC, comment #6: 

After some more playing with 6f6b5f2e5d4d I see that after I
execute the set() command I get a default figure that gets blown up full screen after some short but noticeable delay.
But sometimes it stays at the default size.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 06 Feb 2021 01:13:32 AM UTC, comment #5: 

The set () command from #3 works for me on 6f6b5f2e5d4d.
With a patch apply on top of it I got a screen-wide, but very shot
figure. (qt-5.12.5)

Dmitri.
--


Dmitri A. Sergatskov <dasergatskov>
Fri 05 Feb 2021 10:35:49 PM UTC, comment #4: 

The patch doesn't work for me (hg id: 6f6b5f2e5d4d).  The figure is the same old small size as if I had not specified an 'outerposition' value.

Rik <rik5>
Group administrator
Thu 04 Feb 2021 08:17:59 AM UTC, comment #3: 

Currently the following doesn't work either:


set (figure (), 'units', 'normalized', 'outerposition', [0 0 1 1]);


I attached a patch that fixes the issue for me.

(file #50837)

Pantxo Diribarne <pantxo>
Group Member
Wed 03 Feb 2021 11:04:39 PM UTC, comment #2: 

Ah! Someone encounters the same behavior I did, except I didn't know it was a bug. I worked around with


subplot ("Position", [1e-3 1e-3 0.999 0.999]);


which can at least give you usable figures if you use it for work, while the behavior is being worked on....

Anonymous
Wed 03 Feb 2021 09:37:07 PM UTC, comment #1: 

Confirmed.  This happens on Linux as well as MS Windows so I changed the Operating System to "Any".

Rik <rik5>
Group administrator
Wed 03 Feb 2021 05:44:07 PM UTC, original submission:  

Running `figure('units','normalized','outerposition',[0 0 1 1])` should generate a fullscreen figure but it doesn’t - just a default size figure.

Danny Garside <da5nsy>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50837:  bug59999.patch added by pantxo (3KiB - 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 dasergatskov (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by da5nsy (Submitted the item)
  • -email is unavailable- added by da5nsy
  •  

    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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-05 rik5 StatusPatch Submitted Patch Reviewed
    2021-02-04 pantxo Attached File- Added bug59999.patch, #50837
        CategoryPlotting Plotting with OpenGL
        StatusConfirmed Patch Submitted
    2021-02-03 rik5 Carbon-CopyRemoved 72865 -
    2021-02-03 rik5 StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
        Summary Full size figure not working Full screen figure using property "outerposition" not working
    2021-02-03 da5nsy Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code