FS#63865 - [octave] Octave hangs when open file dialog box is displayed
Attached to Project:
Community Packages
Opened by patrick (potomac) - Friday, 20 September 2019, 19:06 GMT
Last edited by Toolybird (Toolybird) - Friday, 28 April 2023, 23:02 GMT
Opened by patrick (potomac) - Friday, 20 September 2019, 19:06 GMT
Last edited by Toolybird (Toolybird) - Friday, 28 April 2023, 23:02 GMT
|
Details
Description:
Octave (gui version) hangs when I click on file -> open menu, the open dialog box is displayed, but octave hangs (freeze), I don't know if it's a bug from octave, or a bug related to a dependency (Qt5 for example), I use KDE/plasma as desktop. Additional info: * package version(s) octave 5.1.0-4, Qt5 5.13.1-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: - run octave in gui mode (type "octave -gui") - click on "file, open" menu - you will notice that octave will freeze after the display of the open dialog box |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 28 April 2023, 23:02 GMT
Reason for closing: Fixed
Additional comments about closing: Cannot repro these days in a fresh plasma VM. Upstream must have fixed it.
Friday, 28 April 2023, 23:02 GMT
Reason for closing: Fixed
Additional comments about closing: Cannot repro these days in a fresh plasma VM. Upstream must have fixed it.
I notice that if I wait 2 minutes then the open dialog file disapears, and also the freeze.
(gdb) bt full
#0 0x00007ffff7beb5f8 in waitpid () from /usr/lib/libpthread.so.0
No symbol table info available.
#1 0x00005555555569d9 in ?? ()
No symbol table info available.
#2 0x00007ffff7a3bee3 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#3 0x00005555555570ce in ?? ()
No symbol table info available.
perhaps a bad use of Qt5 API from octave, the file open dialog waits something for 2 minutes, a weird delay, which acts as a frozen state, and then after these 2 minutes I can use the file open dialog box,
other Qt5 applications don't have this problem
Since it's not arch specific, this bug report can be closed. The workaround is to disable: Edit -> Preferences -> General -> Use native file dialogs
not sure if authors of octave are really aware of this bug, perhaps someone should create a new upstream bugreport
the bug is related to a bad use from octave of the feature "use native dialogs" (plasma kde dialog box)