add test for QFileDialog::getExistingDirectory / bug?

Dominik Haumann dhaumann at kde.org
Thu Jan 30 20:15:34 UTC 2014


On Tuesday 28 January 2014 15:05:30 Kevin Funk wrote:
> Am Sonntag, 26. Januar 2014, 18:53:42 schrieb Gregor Mi:
> > With another addition to qfiledialogtest in
> > frameworks/frameworkintegration another potential bug can be exposed:
> > 
> > Calling
> > 
> > $ ./qfiledialogtest --nameFilter "c (*.cpp)" --nameFilter "h (*.h)"
> > --selectNameFilter "h (*.h)"
> 
> Works for me. Using Qt 5.2.0, if that matters.

Kevin, what exactly "works" here?

Both tests do not work here: The first one for getting an existing directory, 
I have to choose a file, otherwise I cannot click Open. Probably the entire 
dialog is wrong, since I don't want a *file* dialog here. Instead, I want a 
dialog that shows a tree view of the folders, or am I wrong here?

For the text above, --selectNameFilter is set to the "h" filter. But starting 
the dialog preselects the "c" filter here. So to me this looks like it doesn't 
work.

Can you elaborate? ;)

Greetings,
Dominik


More information about the Kde-frameworks-devel mailing list