Hard crash in QFileDialog (Qt/WinFree)

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sat Jun 11 18:26:49 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Angus Leeming schrieb:
>>The problem is that also it looks like the QLineEdit with the cursor has
>>the keyboard focus, this isn't true. When you click into the QLineEdit
>>before pressing a key, all works fine because then the correct widgets
>>gets the keyevent.
> 
> Actually, on linux at least, the QLineEdit doesn't have focus and pressing
> "a" causes some directory beginning with "a" in the folder list to be
> highlighted. If there's no such folder, then there's no visible effect.
> The "a" certainly does NOT get put into the QLineEdit widget.
> 
> Hope this helps further.
Yes, I saw the same behaviour with qt321nc and now it works also with
qt/free.
The problem is (was) that we handle the WM_ACTIVATE event but did not
set QApplication::activeWindow(). After this Qt thought there is no
active window - the rest you know :-D
I've checked in a patch (qapplication_win.cpp) which should solve this
problem.

Christian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCqxDJnNKwkgf+zVMRAt6lAJ9NM42bCYHffUesajePXguTaNATggCdFSsT
5PVEw9Z4enFVIO+vORTLyxY=
=fiEr
-----END PGP SIGNATURE-----


More information about the kde-cygwin mailing list