[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58821] Figure attributes no longer work
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58821] Figure attributes no longer work |
Date: |
Fri, 24 Jul 2020 13:19:10 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #58821 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Confirmed. It was probably this changeset from jwe to have better Matlab
compatibility:
changeset: 28562:b0b80efecea1
user: John W. Eaton <jwe@octave.org>
date: Sat Jul 11 09:34:44 2020 -0400
summary: error for functions called with too many inputs or outputs
The issue is the graphics callback functions defined as subfunctions in
__add_default_menu__.m. The function prototype is
function grid_cb (h)
but all graphics callbacks are invoked by the interpreter as
callback (graphic_handle, event_structure)
Changing the function prototype to
function grid_cb (h, ~)
restores functionality.
Except for a few graphics callbacks, the event_structure input is unused and
unfilled. I think going through the code and verifying the callbacks all have
'~' as the second argument will fix this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58821>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/