bugGNU Octave - Bugs: bug #53775, uimenu grows figure, and refuses...

 
 

bug #53775: uimenu grows figure, and refuses position reset.

Submitter:  AlanRobertClark <alanrobertclark>
Submitted:  Sat 28 Apr 2018 03:25:12 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  AlanRobertClark Open/Closed:  * Closed
Release:  * 4.2.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 02 Nov 2018 10:10:17 AM UTC, comment #1: 

Retagging the bug as "Plotting with OpenGL". Bug #50368 has been fixed and I can't reproduce this bug. Closing report as fixed.

Pantxo Diribarne <pantxo>
Group Member
Sat 28 Apr 2018 03:25:12 AM UTC, original submission:  

As per 50368, under --no-gui (Qt), each top level uimenu adds height to the figure. If 'Position' is recorded, and reset From Commandline, issue is resolved. But NOT if from the m-file.


CFh=figure;
pos=get(CFh, 'position');
uimenu(CFh,'label','Top1');pause(1);
uimenu(CFh,'label','Top2');pause(1);
uimenu(CFh,'label','Top3');pause(1);
uimenu(CFh,'label','Top4');pause(1);
uimenu(CFh,'label','Top5');pause(1);
set(CFh, 'menuBar', 'none');
set(CFh, 'position', pos);


If the last line is repeated from commandline, the figure is correct.
pos = [300   200   560   420]
get(CFh, 'Position') = [300    80   560   540]

So there is an explicit problem with set(CFh, 'position'... which is not happening. Tried drawnow, reset, pause etc...

AlanRobertClark <alanrobertclark>

 

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

Attach Files:
   
   
Comment:
   

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 pantxo (Posted a comment)
  • -email is unavailable- added by alanrobertclark (Submitted the item)
  • -email is unavailable- added by alanrobertclark
  •  

    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
    2018-11-02 pantxo CategoryGUI Plotting with OpenGL
        StatusNone Fixed
        Open/ClosedOpen Closed
    2018-04-28 alanrobertclark Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code