bugGNU Octave - Bugs: bug #53400, Implementation of movegui

 
 

bug #53400: Implementation of movegui

Submitted by:  Guillaume <gyom>
Submitted on:  Wed 21 Mar 2018 11:44:20 AM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume 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 30 Oct 2018 04:05:59 PM UTC, comment #2:

If movegui is called with no arguments then it will make sure the current figure is entirely visible on the screen. If that were already the case then nothing happens.

Guillaume <gyom>
Fri 26 Oct 2018 08:20:39 PM UTC, comment #1:

I made a few minor changes and pushed this changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/3a66ae436d8a

What is supposed to happen if movegui is called with no arguments? Stepping through the function with the debugger shows it computing a position that is the same as the current position of the current figure so then doesn't appear to do anything. Is that intentional?

John W. Eaton <jwe>
Project Administrator
Wed 21 Mar 2018 11:44:20 AM UTC, original submission:

I attach an attempt at implementing movegui:
https://www.mathworks.com/help/matlab/ref/movegui.html

It's not perfect as it doesn't take into account automatically the size of the figure decoration and the space used by the figure manager but I'm not sure there is a robust way to gather this information for all platforms.

Guillaume <gyom>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #43613:  movegui.m added by gyom (6KiB - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by gyom (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-01 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2018-10-26 jwe StatusNone => Ready For Test
    2018-03-21 gyom Attached File- => Added movegui.m, #43613

    Back to the top


    Powered by Savane 3.4