[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49157] textbox annotation generates an error
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #49157] textbox annotation generates an error with gnuplot backend |
Date: |
Thu, 22 Sep 2016 20:19:23 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #3, bug #49157 (project octave):
Works "fine" here as well. That error message is coming from this line:
switch (obj.type)
case "image"
[snip]
otherwise
error ("__gnuplot_draw_axes__: unknown object class, %s", obj.type);
endswitch
which is a very long switch statement that processes all the various graphics
objects. Somehow a uicontextmenu was making its way through to the
__gnuplot_draw_axes__.m file. In the latest code, __gnuplot_draw_figure__.m
has this check on the object:
case {"uimenu", "uicontextmenu"}
## ignore uimenu objects
kids(i) = [];
otherwise
error ("__gnuplot_draw_figure__: unknown object class, %s",
type);
endswitch
Hence, the latest code is weeding out the 'uicontextmenu' objects. I'm
guessing that wasn't in Octave release 4.0.3 yet.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49157>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/