[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" prope
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties |
Date: |
Thu, 18 Jan 2018 07:42:47 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #8, bug #52804 (project octave):
Here is a much better test (the cb.m function is attached) that I could check
in ML:
clf
set (gca, 'buttondownfcn', @cb, 'interruptible', 'on')
hui = uicontrol ('style', 'pushbutton', 'callback', 'disp (''button'')',
'busyaction', 'queue')
First click inside the axes to trigger the execution of the lengthy axes
callback. Then click multiple times on the button to see what happens.
Here is what I observe in Octave
* whatever the value of "interruptible" and "busyaction", the uicontrol
callbacks are always executed after the axes buttondownfcn has returned.
* the messages only appear onscreen once all the callbacks have been
executed.
* clicking the button while the axes callback is executing doesn't visually
look like the button reacts, even though the click is actually taken into
account
In Matlab:
* interruptible->on, busyaction->queue: uicontrol callbacks are executed each
time drawnow is called (if you have clicked 3 times the button in 5 seconds
then you see 3 "button" between 2 "processing queued callbacks")
* interruptible->off, busyaction->queue: uicontrol callbacks are all executed
after the axes callback as returned (drawnow has no effect)
* interruptible->off, busyaction->cancel: uicontrol callbacks are not
executed
(file #42953)
_______________________________________________________
Additional Item Attachment:
File name: cb.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52804>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/05
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/05
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/11
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/11
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/21
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/22