Qt-interest Archive, December 2007
QFileDialog selecting a filter.
Message 1 in thread
I've noticed another strange behavior with the QFileDialog...
If you have a file like file.txt highlighted in the QFileDialog box, then
you select a filter, something like *.jpg, the file.txt
file will not get filtered out. i.e. it is listed along with all the
*.jpg files. This is not the way I like the QFileDialog to behave,
but maybe this was done on purpose? ??
If there are any suggestion on how to get this behavior to stop, please
let me know.
Thanks,
Stacy
Message 2 in thread
Is the highlighted file in the file list?
The system FileDialog on windows, if you select a file, it goes in the
File Name area,... If you change the filter, it stays in the file name
area, but is removed from the files area.
Scott
________________________________
From: Stacy L Alley [mailto:salley@xxxxxxxx]
Sent: Monday, December 10, 2007 2:28 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: QFileDialog selecting a filter.
I've noticed another strange behavior with the QFileDialog...
If you have a file like file.txt highlighted in the QFileDialog box,
then you select a filter, something like *.jpg, the file.txt
file will not get filtered out. i.e. it is listed along with all the
*.jpg files. This is not the way I like the QFileDialog to behave,
but maybe this was done on purpose? ??
If there are any suggestion on how to get this behavior to stop, please
let me know.
Thanks,
Stacy
Message 3 in thread
Using Qt 4.3.2 i have a different behaviour:
When i select a filter that filters out the currently selected file, the file is no longer listed in the listview.
BUT: it's still in the "File name:" lineedit, and if i press the "Open" button (which is not greyed out), i get the file i previously selected, regardless of it being no longer "in the filter".
QFileDialog is relatively new (it has recently been overhauled) so it's no wonder it's still full of bugs ;-)
I would send this to qt-bugs@xxxxxxxxxxxxx (again).
Cheers,
Peter
> -----Ursprüngliche Nachricht-----
> Von: Stacy L Alley [mailto:salley@xxxxxxxx]
> Gesendet: Montag, 10. Dezember 2007 23:28
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: QFileDialog selecting a filter.
>
>
> I've noticed another strange behavior with the QFileDialog...
>
> If you have a file like file.txt highlighted in the
> QFileDialog box, then you select a filter, something like
> *.jpg, the file.txt
> file will not get filtered out. i.e. it is listed along with
> all the *.jpg files. This is not the way I like the
> QFileDialog to behave,
> but maybe this was done on purpose? ??
> If there are any suggestion on how to get this behavior to
> stop, please let me know.
> Thanks,
> Stacy
>
--
[ signature omitted ]
Message 4 in thread
It must be because I am using an older version: Qt4.1
I guess I need to push for a Qt upgrade here.
Thanks for the reply.
Stacy
"Peter Prade" <prade@xxxxxxxxxxx>
12/11/2007 07:00 AM
To
<qt-interest@xxxxxxxxxxxxx>
cc
Subject
AW: QFileDialog selecting a filter.
Using Qt 4.3.2 i have a different behaviour:
When i select a filter that filters out the currently selected file, the
file is no longer listed in the listview.
BUT: it's still in the "File name:" lineedit, and if i press the "Open"
button (which is not greyed out), i get the file i previously selected,
regardless of it being no longer "in the filter".
QFileDialog is relatively new (it has recently been overhauled) so it's no
wonder it's still full of bugs ;-)
I would send this to qt-bugs@xxxxxxxxxxxxx (again).
Cheers,
Peter
> -----Ursprüngliche Nachricht-----
> Von: Stacy L Alley [mailto:salley@xxxxxxxx]
> Gesendet: Montag, 10. Dezember 2007 23:28
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: QFileDialog selecting a filter.
>
>
> I've noticed another strange behavior with the QFileDialog...
>
> If you have a file like file.txt highlighted in the
> QFileDialog box, then you select a filter, something like
> *.jpg, the file.txt
> file will not get filtered out. i.e. it is listed along with
> all the *.jpg files. This is not the way I like the
> QFileDialog to behave,
> but maybe this was done on purpose? ??
> If there are any suggestion on how to get this behavior to
> stop, please let me know.
> Thanks,
> Stacy
>
--
[ signature omitted ]