[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 10:35:20 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #1, bug #49734 (project octave):
Does anyone else reproduce this? It has to be a script that is executed and
not copy-pasted. I get a position of 0 with both Octave 4.2 and with the
latest dev version.
I didn't noticed this before as 4.2 treats a zero position as if none was
specified (and the menu is put at the last position):
++
figure
uimenu('label','menu1','position',0)
--
Octave 4.3+ (rightfully) complains about it:
++
error: set: "position" must be greater than 0
error: called from
uimenu at line 87 column 7
--
(Matlab displays a warning "Warning: Invalid uimenu position - not
rendering").
I wonder if the change that now triggers the error is related to the fix in
bug #48255. That said, the issue is that the following should never return 0:
++
close all
get(uimenu,'position')
--
_______________________________________________________
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 <=
- [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, 2016/12/01
- [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