Created attachment 1065639 [details] Testcase to reproduce error Description of problem: Qt5 application often freezes when calling Open File dialog. I think it is a problem with KDE5. Version-Release number of selected component (if applicable): Fedora 22 plasma-desktop-5.3.2-3.fc22.x86_64 How reproducible: Often Steps to Reproduce: 1. compile attached testcase with Qt5 2. run 3. click button Actual results: application freezes Expected results: opened Open file dialog
backtrace #0 0x000000350f4f72fd in poll () at /lib64/libc.so.6 #1 0x0000003511449dbc in g_main_context_iterate (priority=2147483647, n_fds=11, fds=0x146f690, timeout=<optimized out>, context=0x7fffec0016f0) at gmain.c:4103 #2 0x0000003511449dbc in g_main_context_iterate (context=context@entry=0x7fffec0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803 #3 0x0000003511449ecc in g_main_context_iteration (context=0x7fffec0016f0, may_block=1) at gmain.c:3869 #4 0x00000030e26d6b6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x686530, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #5 0x00000030e267ceba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffc860, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #6 0x00000030e4346c5d in QDialog::exec() (this=0x138cbe0) at dialogs/qdialog.cpp:541 #7 0x00007ffff03e849f in KDEPlatformFileDialogHelper::exec() () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so #8 0x00000030e4346b1a in QDialog::exec() (this=this@entry=0x7fffffffc9f0) at dialogs/qdialog.cpp:537 #9 0x00000030e43581f5 in QFileDialog::getOpenFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) (parent=parent@entry=0x7fffffffd990, caption=..., dir=..., filter=..., selectedFilter=selectedFilter@entry=0x0, options=..., supportedSchemes=...) at dialogs/qfiledialog.cpp:2138 #10 0x00000030e43582c2 in QFileDialog::getOpenFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) (parent=parent@entry=0x7fffffffd990, caption=..., dir=..., filter=..., selectedFilter=selectedFilter@entry=0x0, options=...) at dialogs/qfiledialog.cpp:2085 #11 0x00000000004033c1 in Dialog::openFile() (this=0x7fffffffd990) at dialog.cpp:23
Created attachment 1065645 [details] Full gdb backtrace
I can confirm, I've seen the same problem couple times myself. Apparently hitting escape still closes the dialog (in most cases) and you can at least save your current work.
I confirm this issue. The 'Open file' dialog seems to be instantiated (pressing escape recovers the main app) but it's not rendered.
This should be fixed with kf5-frameworkintegration-5.15.0 currently in -testing, https://bodhi.fedoraproject.org/updates/FEDORA-2015-176062173b