[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40242] FLTK + GUI = crash on MacOSX
From: |
Michael Goffioul |
Subject: |
[Octave-bug-tracker] [bug #40242] FLTK + GUI = crash on MacOSX |
Date: |
Sun, 17 Nov 2013 18:53:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 |
Follow-up Comment #13, bug #40242 (project octave):
The FLTK backend for octave is designed to run synchronously with the octave
interpreter (using the readline event loop); hence it is running in the octave
thread.
This is probably a fundamental problem when using the octave GUI, where octave
interpreter is not running in the main thread. Mac OS X platform is much more
strict (less flexible) in that regard and I believe any GUI interaction must
occur in the GUI thread, and must be the main thread.
QtHandles design is different and run the GUI in a separate thread than
octave; when a GUI thread (containing the QApplication object) already exists,
it hooks up to that GUI thread. Interaction between octave and the GUI is done
using non-blocking signal/slot mechanism. This difference in design is why
QtHandles works with the GUI in Mac OS X.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40242>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/