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

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

[Octave-bug-tracker] [bug #54340] resizefcn Callback does not seem to be


From: anonymous
Subject: [Octave-bug-tracker] [bug #54340] resizefcn Callback does not seem to be interrupted
Date: Thu, 19 Jul 2018 19:19:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?54340>

                 Summary: resizefcn Callback does not seem to be interrupted
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 19 Jul 2018 11:19:03 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Glenn
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

It appears that the resizefcn for a figure does not get interrupted when using
QT graphic toolkit (Windows 7, 64 bit SP1). 

When running this script, once the figure is created resizing the window
should execute the callback (multiple times as the figure is resized).  Based
on the code, I believe that the initial callbacks should be interrupted and
never completely execute, but they do.  It appears that the callback is never
interrupted, but instead all are run sequentially.

This is the output that I get:

interrupt_test
h =  3
loop =  1
.Begin Callback
.Callback run : 0
.Interruptible: on
.Callback run : 1
.End Callback
>> loop =  2
..Begin Callback
..Callback run : 0
..Interruptible: on
..Callback run : 1
..End Callback
loop =  3
...Begin Callback
...Callback run : 0
...Interruptible: on
...Callback run : 1
...End Callback


I also tried the sizechangedfcn callback, but that didn't seem to ever execute
at all.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 19 Jul 2018 11:19:03 PM UTC  Name: interrupt_test.m  Size: 70B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=44598>
-------------------------------------------------------
Date: Thu 19 Jul 2018 11:19:03 PM UTC  Name: resize_callback.m  Size: 935B  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=44599>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54340>

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




reply via email to

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