[Qt-interest] QFileDialog Question (SOLVED)

Stacy Alley salley at usgs.gov
Fri Dec 12 22:31:57 CET 2008


I'm going to post the solution to the problem listed below in case 
anybody else ever runs into this:

in your home directory, inside the .config directory, there is a file 
called Trolltech.conf.
There is a long line in that file that starts like this:  
filedialog=@ByteArray ....
If you delete that line, the problem goes away.  Woo hoo!


Stacy Alley wrote:
> Hi All,
> So... anybody know where I can find where the QFileDialog widget stores 
> it information for the history in the 'Look in:' combo box
> if I'm using Linux?  (CentOs  2.6.18)
>
> I'm not 100% sure this will even cure my problem so I'll describe what's 
> happening and any input would be greatly appreciated!
> I'm currently the ONLY user with the problem too so it makes it even 
> weirder...
>
> If I bring up the QFileDialog widget in my application to open a file, 
> it doesn't always show the correct files and subdirectories.  It shows
> the files from a different user's area.  So in the 'Look in:'  line edit 
> it says /example/stacy  but it will show me the files in /example/fred.
> Then if I use the up arrow to go up a directory, like in the case to 
> /example  the file dialog box does not show anything.
> This behavior seems to get even crazier if I try to set the 
> QFileDialog's name filters or it's current directory.  But like I said, 
> this is only for
> _/me/_, nobody else is having this weirdness. Has anybody ever seen 
> anything like this before?
> I'm using Qt version 4.4.3.
> Thanks-
> Stacy
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   

-- 
Stacy Alley

Astrogeology Team Programmer
U.S. Geological Survey
2255 North Gemini Drive
Flagstaff, AZ 86001
(928)556-7258




More information about the Qt-interest-old mailing list