bugGNU Octave - Bugs: bug #41727, set (h, 'position', ...) not...

 
 

bug #41727: set (h, 'position', ...) not always respected with FLTK

Submitter:  Rik <rik5>
Submitted:  Thu 27 Feb 2014 06:03:32 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  andy1978
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 01 Aug 2014 05:42:49 AM UTC, comment #1: 

This seems to have been fixed by one of your recent changes.  I just ran the bad_pos script 100 times in a for loop and didn't see a problem.  Closing report.

Rik <rik5>
Group administrator
Thu 27 Feb 2014 06:03:32 PM UTC, original submission:  

Attached is some sample code which attempts to move a figure window to the lower left corner.  It occasionally works on the first try, but after that it never works.  The call to set is ignored and the default position for a new window is used.


close all;
graphics_toolkit fltk;
hf = figure ();
pos = get (hf, 'position')
set (hf, 'position', [1, 1, pos(3:4)])


This isn't a problem with the 'qt' toolkit.

To test, download bad_pos.m and then repeatedly run 'bad_pos' in Octave.

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30722:  bad_pos.m added by rik5 (213B - d2l/unknowntype)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by andy1978 (Updated the item)
  • -email is unavailable- added by rik5 (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-01 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2014-07-31 andy1978 Assigned toNone andy1978
    2014-05-06 rik5 Dependencies- bugs #42308 is dependent
    2014-02-27 rik5 Attached File- Added bad_pos.m, #30722

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code