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

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

[Octave-bug-tracker] [bug #63388] Octave may crash with uitable containi


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63388] Octave may crash with uitable containing true/false data
Date: Tue, 29 Nov 2022 05:24:58 -0500 (EST)

Update of bug #63388 (project octave):

                  Status:               Confirmed => Patch Submitted        

    _______________________________________________________

Follow-up Comment #21:

I'm attaching a patch that avoids the crashes for me by re-drawing the entire
uitable each time the data changes. 
That is most likely over-kill and it might be better to fix this on a more
granular level (i.e., only when Boolean changes to non-Boolean or vice-versa,
or only for the affected rows/columns/cells). But that would likely require
major changes to the existing implementation.
The attached patch (while likely leading to a slow-down in uitable updates) is
probably less likely to cause unexpected regressions. It would probably be
fine to go on stable.

Does the patch also avoid the crashes for you?


(file #54036)

    _______________________________________________________

Additional Item Attachment:

File name: bug63388-uitable-Boolean.patch Size:1 KB
   
<https://file.savannah.gnu.org/file/bug63388-uitable-Boolean.patch?file_id=54036>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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