QFileDialog not usable with frameworkintegration

codeminister at publicstatic.de codeminister at publicstatic.de
Thu Jan 23 10:49:56 UTC 2014


Hi,

as described in https://git.reviewboard.kde.org/r/115238/ there is a bug
QFileDialog frameworkintegration. As opposed to written in the review
request the dialog is not usable at the moment if someone wants to
select a non-existing file because it crashes.

1. $ ./qfiledialogtest --acceptMode save --selectFile /tmp/moo.png

2. (Note that the selectFile has no effect)

3. Manually select a file

4. Edit the Name text box and write some non-existing name

5. Press ok

6.
qfiledialogtest(4329)/(default) QFileInfo::absolutePath:
QFileInfo::absolutePath: Constructed with empty filename
qfiledialogtest(4329)/(default) qt_assert: ASSERT: "d" in file
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h, line 120
Aborted

Best regards

Gregor


More information about the Kde-frameworks-devel mailing list