octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65421] patch fails to render if cdata is spec


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65421] patch fails to render if cdata is specified before geometry in property/value calling form
Date: Fri, 15 Mar 2024 09:43:53 -0400 (EDT)

Follow-up Comment #33, bug #65421 (group octave):

The ordering issue is definitely a problem buried in graphics.cc. With some
minimal testing on Matlab, property/value ordering seems to not matter at all
except for repeated properties (I think it retains the first instance of a
property, but haven't checked that in some time).

As `__patch__.m` was already doing quite a bit of input parsing and
reformatting before sending the argument list to `__go_patch__`, the initial
fix was definitely just an easy bandaid to try to sidestep the issue.

It would be fairly simple to turn the struct into name-value pairs, insert
them at the same position into the argument list, then perform the same hack
to avoid the bug. It would essentially avoid ever actually sending a struct to
`__go_patch__`. I don't know of anything user-visible that would be impacted
by that change, and it would sidestep the bug at the m-code level.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65421>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]