bugGNU Octave - Bugs: bug #44791, fltk uimenu position does not...

 
 

bug #44791: fltk uimenu position does not update when figure not visible

Submitter:  John Donoghue <lostbard>
Submitted:  Thu 09 Apr 2015 03:48:38 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Wont Fix Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 03 Mar 2019 06:43:07 PM UTC, comment #6: 

Closing report as "Won't Fix" since FLTK is no more actively maintained.

Pantxo Diribarne <pantxo>
Group Member
Fri 23 Dec 2016 10:42:47 PM UTC, comment #5: 

This (fltk) behavior is still present with Octave 4.2.0.

Running the test code from comment #3 still gives the same results.

Hartmut <hardy>
Sun 17 May 2015 09:26:18 PM UTC, comment #4: 

Just ran the test code from comment #3 and I see the problem.  This is on f5d9e57d4380 (stable) (from 5/17/15).

Rik <rik5>
Group administrator
Fri 10 Apr 2015 01:09:12 PM UTC, comment #3: 

Still not correct when I tried it after doing a pull. id = 81c31198a193


graphics_toolkit fltk
h = figure('visible','off');
m = uimenu(h,'Label','test');
p = get(m,'Position') % returns 0 but should be 3
set (h, 'visible', 'on')
p = get(m,'Position') % returns 3


John Donoghue <lostbard>
Group Member
Fri 10 Apr 2015 12:07:47 PM UTC, comment #2: 

@John, can you test this again? I think this should be solved with cset http://hg.savannah.gnu.org/hgweb/octave/rev/76b1168342c0

Andreas Weber <andy1978>
Group Member
Thu 09 Apr 2015 03:52:14 PM UTC, comment #1: 

Current uimenu tests use invisible figures, and currently checks the value is 0, which is not correct.


John Donoghue <lostbard>
Group Member
Thu 09 Apr 2015 03:48:38 PM UTC, original submission:  

Running:


graphics_toolkit fltk
h = figure('visible','off');
m = uimenu(h,'Label','test');
p = get(m,'Position')


Position should reflect the position that the menu was inserted - in this case 3.

Running the same with a visible figure, and position does update correctly.


John Donoghue <lostbard>
Group Member

 

(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 hardy (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by lostbard (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-03 pantxo StatusConfirmed Wont Fix
        Open/ClosedOpen Closed
    2015-05-17 rik5 StatusReady For Test Confirmed
    2015-04-10 andy1978 StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code