(
Jump to the original submission)
Tue 22 Sep 2015 09:31:55 AM UTC, comment #6:
Fixed with http://hg.savannah.gnu.org/hgweb/octave/rev/bb09279e5c99 on the default (development) branch
@Francesco Potortì: You can download the fixed menu.m from http://hg.savannah.gnu.org/hgweb/octave/file/bb09279e5c99/scripts/miscellaneous/menu.m and replace it in your install directory so you don't have to wait for the 4.2 release.
Closing as fixed
|
Tue 22 Sep 2015 04:06:17 AM UTC, comment #5:
This doesn't fix a regression or a segfault so it should be placed on the development branch. Looks good to me.
|
Tue 22 Sep 2015 01:32:21 AM UTC, comment #4:
@Rik: Sure, can I push this to stable?
(file #34946)
|
Sat 19 Sep 2015 09:33:22 PM UTC, comment #3:
Confirmed. I re-filed the bug as a Matlab compatibility issue.
@Andreas: Can you prepare a changeset to update the documentation and also return 0 if the Cancel button is used.
|
Fri 18 Sep 2015 01:15:56 PM UTC, comment #2:
argh, sorry, it should IMHO be
|
Fri 18 Sep 2015 01:14:04 PM UTC, comment #1:
I think menu should indeed return 0 if the user hits cancel (see Matlab documentation).
This seems like a bug in line 61
http://hg.savannah.gnu.org/hgweb/octave/file/ff904ae0285b/scripts/miscellaneous/menu.m#l61
which should IMHO be
|
Thu 17 Sep 2015 12:13:34 PM UTC, original submission:
I would expect the menu function to return 0 when no choice is made by opressing hte Cancel button.
However, 1 is returned. This should be properly documented.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 8 latest changes.