Thu 28 May 2015 09:57:08 PM UTC, comment #2:
Looks like my memory fails me [1], both "--no-gui" and plain GUI modes use a QApplication.
The problem is that the resource_manager hasn't been initialized: just calling resource_manager::reload_settings (); before any use of the resource manager (in annotation-dialog.cc) fixes the issue for me.
This should probably be done in octave-gui.cc
[1] http://hg.savannah.gnu.org/hgweb/octave/rev/1ed269bdea58
|
Thu 28 May 2015 08:43:00 AM UTC, comment #1:
Hi,
I had already reported this on the maintainers ml, but forgot to file the bug report. Thanks.
A major difference between the "--no-gui" and plain gui modes from the Qt point of view is the kind of application that is used: QCoreApplication [1] in "--no-gui", and QApplication in plain GUI.
I'd try to look in that direction, since even in "--no-gui" mode we do need gui (figures and dialogs).
[1] http://doc.qt.io/qt-4.8/qcoreapplication.html#details
|
Thu 28 May 2015 06:35:12 AM UTC, original submission:
8a25649b9c77 (stable)
Start with "--no-gui", run "peaks" (now the Qt plotting window pops up), select "Insert Text", click on the plot:
bt (unfortunately without debugging symbols)
I can build Octave with debugging symbols tonight
|