[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0 |
Date: |
Thu, 1 Dec 2016 12:22:52 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #3, bug #49734 (project octave):
Hi Pantxo, thanks for the explanation. I now understand why the error only
started occurring recently (note that this is an error and not a warning).
Matlab returns the correct value straight away:
++
figure, get(uimenu('label','menu'),'position')
ans =
9
--
If a figure has N menus, the allowed values in Matlab for position when
creating a new menu are 1:N+1. In Octave, they are 1 to Inf where any value
greater than N+1 is set to N+1.
Also, I tried with drawnow but it does not work.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49734>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Guillaume, 2016/12/01
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Pantxo Diribarne, 2016/12/01
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0,
Guillaume <=
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Markus Mützel, 2016/12/01
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Guillaume, 2016/12/02
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Markus Mützel, 2016/12/02
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Pantxo Diribarne, 2016/12/02
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Pantxo Diribarne, 2016/12/02
- [Octave-bug-tracker] [bug #49734] uimenu's position is sometimes 0, Guillaume, 2016/12/02