liladas
29th July 2010, 18:49
I have a piece of QT3 Software.
All of the Open File dialogs are affected by this bug/behavior. All other SW on the machine does not have this behavior.
When I call "QFileDialog::getOpenFileName()" it brings up the native windows file dialog as expected. Notice the dropdown at the top labeled "Look in:" that shows the directory tree. Once I navigate to "Desktop" or "My Documents" I can not keep this dropdown to stay open. It closes on me within 2-3 seconds, repeatably -- rendering it useless and annoying.
I've also noticed that a empty file named "TempWmicBatchFile.bat" gets left behind in each directory I navigate to. While in a directory, this "TempWmicBatchFile.bat" is updated with a new timestamp (or deleted newly generated?) every few seconds.
I have no idea how to go about fixing this. Any thoughts?
Using the windows system calls and the "OPENFILENAME ofn" struct instead of the Qt call results in the same problem. Qt3's own QFileDialog works just fine and will be used if I can't find a solution, I just don't like the look/feel of it.
All of the Open File dialogs are affected by this bug/behavior. All other SW on the machine does not have this behavior.
When I call "QFileDialog::getOpenFileName()" it brings up the native windows file dialog as expected. Notice the dropdown at the top labeled "Look in:" that shows the directory tree. Once I navigate to "Desktop" or "My Documents" I can not keep this dropdown to stay open. It closes on me within 2-3 seconds, repeatably -- rendering it useless and annoying.
I've also noticed that a empty file named "TempWmicBatchFile.bat" gets left behind in each directory I navigate to. While in a directory, this "TempWmicBatchFile.bat" is updated with a new timestamp (or deleted newly generated?) every few seconds.
I have no idea how to go about fixing this. Any thoughts?
Using the windows system calls and the "OPENFILENAME ofn" struct instead of the Qt call results in the same problem. Qt3's own QFileDialog works just fine and will be used if I can't find a solution, I just don't like the look/feel of it.