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

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

[Octave-bug-tracker] [bug #39733] figure window stuck if error while exe


From: Cristian
Subject: [Octave-bug-tracker] [bug #39733] figure window stuck if error while executing window callback
Date: Thu, 08 Aug 2013 19:04:27 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

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

                 Summary: figure window stuck if error while executing window
callback
                 Project: GNU Octave
            Submitted by: r41nm4n
            Submitted on: Thu 08 Aug 2013 07:04:26 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If an error happens during the execution of a callback function such as
'WindowButtonUpFcn', the fltk figure window is stuck until the user presses
enter at the console.
Conversely, if the error happens outside a callback function the figure window
is correctly updated.

I am attaching a short script that shows the problem: 
it displays a red square in the current figure,
then it waits for a mouse click on the current figure window.
After the mouse click, it generates an error. 
It should be then possible to verify that the figure window is not refreshed
or updated until "enter" is pressed at the console. Only after pressing enter
the figure should be correctly updated with a green square.

The expected behaviour would be that the figure window is never stuck after an
error in the callback function.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 08 Aug 2013 07:04:26 PM GMT  Name: error_in_callback.m  Size: 582B  
By: r41nm4n

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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