add test for QFileDialog::getExistingDirectory / bug?

Gregor Mi codeminister at publicstatic.de
Tue Jan 28 18:04:11 UTC 2014



On 28/01/14 15:05, 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.

Hmm. I also use Qt 5.2.0 (the one that comes with kdesrcbuild). Does the
other call (see below) also works for you?

(Here is the console output for the first one:
http://pastebin.kde.org/puwz8xzfc)

> 
>> does not select the second filter. Can this be confirmed or maybe I am
>> using the API wrong?
>>
>> Gregor
>>
>> On 26/01/14 17:15, Gregor Mi wrote:
>>> Hi,
>>>
>>> with 2c1ee08a21a1f16f9c2523718224598de8fc0d4f I added a test for
>>> QFileDialog::getExistingDirectory.
>>>
>>> When I execute
>>>
>>> ./qfiledialogtest --staticFunction getExistingDirectory

This one...

>>>
>>> then a dialog opens that lets the user select files but not directories.
>>> This seems to be a bug.
>>>
>>> Greetings
>>>
>>> Gregor
> 



More information about the Kde-frameworks-devel mailing list