Bug 1098 - setTitle in display() of GLEventListener causes exception when window closes
Summary: setTitle in display() of GLEventListener causes exception when window closes
Status: CONFIRMED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-10-28 19:52 CET by Mark Raynsford
Modified: 2015-12-05 21:55 CET (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
stack trace (1.45 KB, text/plain)
2014-10-28 19:52 CET, Mark Raynsford
Details
test case (1.52 KB, text/plain)
2014-10-28 19:52 CET, Mark Raynsford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Raynsford 2014-10-28 19:52:00 CET
Created attachment 661 [details]
stack trace

When calling setTitle in the display() method of a GLEventListener attached to a NEWT window, the program will raise an exception when closing the window. The window stays open, and none of the GLEventListener methods are called again.

See attached stack trace and error message triggered when the above occurs, and a test case.
Comment 1 Mark Raynsford 2014-10-28 19:52:28 CET
Created attachment 662 [details]
test case
Comment 2 vaxquis 2015-12-05 21:55:36 CET
I can confirm this bug; it appeared exactly as described with the exactly same stack trace. Commenting out the setTitle() called stopped it from appearing.