bugGNU Octave - Bugs: bug #39733, figure window stuck if error while...

 
 

bug #39733: figure window stuck if error while executing window callback

Submitted by:  Cristian <r41nm4n>
Submitted on:  Thu 08 Aug 2013 07:04:26 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 08 Aug 2013 07:04:26 PM UTC, original submission:

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.

Cristian <r41nm4n>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #28800:  error_in_callback.m added by r41nm4n (582B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by r41nm4n (Submitted the item)
  • -unavailable- added by r41nm4n
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Aug 2013 07:04:26 PM UTCr41nm4nAttached File-=>Added error_in_callback.m, #28800
      Carbon-Copy-=>Added r41nm4n

    Back to the top


    Powered by Savane 3.1-cleanup