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

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

[Octave-patch-tracker] [patch #9084] uitable implementation


From: anonymous
Subject: [Octave-patch-tracker] [patch #9084] uitable implementation
Date: Mon, 2 Jan 2017 05:33:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #21, patch #9084 (project octave):

Hi, Andy

I found another issue, and fixed it.

6. Run following command, click first cell, type 1<Return> 10 times quickly,
and uitable data property become corrupt.
>
uitable('ColumnFormat',{'numeric'},'ColumnEditable',true,'Data',zeros(10,1),'CellEditCallback',@(h)disp(get(h,'Data')'),'CellSelectionCallback',@()rand(3000));

Cause of this issue is asynchronous of writing data property, using
gh_manager::post_set.
So, I added Table::m_curData attribute, and read/write it synchronously.

Updated version is attached.

Regards,
Teppei

(file #39340)
    _______________________________________________________

Additional Item Attachment:

File name: patch_9084_uitable-20170102.diff Size:103 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9084>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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