Bug 1255843 - KDE5 file open dialogue freezes
Summary: KDE5 file open dialogue freezes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-desktop
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-21 16:33 UTC by Ivan Romanov
Modified: 2015-10-20 13:49 UTC (History)
8 users (show)

Fixed In Version: kf5-frameworkintegration-5.15.0-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-20 13:49:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Testcase to reproduce error (1.28 KB, application/x-gzip)
2015-08-21 16:33 UTC, Ivan Romanov
no flags Details
Full gdb backtrace (7.20 KB, text/plain)
2015-08-21 16:45 UTC, Ivan Romanov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 350758 0 None None None Never

Description Ivan Romanov 2015-08-21 16:33:03 UTC
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

Comment 1 Ivan Romanov 2015-08-21 16:39:49 UTC
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

Comment 2 Ivan Romanov 2015-08-21 16:45:15 UTC
Created attachment 1065645 [details]
Full gdb backtrace

Comment 3 Daniel Vrátil 2015-08-21 23:46:08 UTC
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.

Comment 4 Francois Nitenberg 2015-10-20 13:40:37 UTC
I confirm this issue.
The 'Open file' dialog seems to be instantiated (pressing escape recovers the main app) but it's not rendered.

Comment 5 Rex Dieter 2015-10-20 13:49:44 UTC
This should be fixed with kf5-frameworkintegration-5.15.0 currently in -testing,
https://bodhi.fedoraproject.org/updates/FEDORA-2015-176062173b


Note You need to log in before you can comment on or make changes to this bug.