Re: Hard crash in QFileDialog (Qt/WinFree)

Angus Leeming <[email protected]>
Newsgroups gmane.comp.kde.devel.cygwin
Message-ID <[email protected]>
Christian Ehrlicher wrote:
> 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

Thank you, Christian!
Angus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.