QFileDialog not usable with frameworkintegration

2014-01-23 Thread codeminister
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
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: QFileDialog not usable with frameworkintegration

2014-01-23 Thread Aleix Pol
On Thu, Jan 23, 2014 at 11:49 AM, codeminis...@publicstatic.de wrote:

 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
 ___
 Kde-frameworks-devel mailing list
 Kde-frameworks-devel@kde.org
 https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


I'm looking into this.

Aleix
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: QFileDialog not usable with frameworkintegration

2014-01-23 Thread Aleix Pol
On Thu, Jan 23, 2014 at 5:16 PM, Aleix Pol aleix...@kde.org wrote:

 On Thu, Jan 23, 2014 at 11:49 AM, codeminis...@publicstatic.de wrote:

 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
 ___
 Kde-frameworks-devel mailing list
 Kde-frameworks-devel@kde.org
 https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


 I'm looking into this.

 Aleix


The described issues should be fixed with this and following commits:
http://commits.kde.org/frameworkintegration/cfa3cada6aec542711080f1fa40ba21287587d42

Aleix
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel