[QScintilla] Issue on Windows platforms

Phil Thompson phil at riverbankcomputing.com
Sat Jan 15 11:59:44 GMT 2011


On Sat, 15 Jan 2011 12:17:09 +0100, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> On Freitag, 14. Januar 2011, Phil Thompson wrote:
>> On Thu, 23 Dec 2010 16:00:18 +0100, Detlev Offenbach
>> 
>> <detlev at die-offenbachs.de> wrote:
>> > Hello,
>> > 
>> > I am not able to select an entry from autocompletion lists by mouse
on
>> 
>> win
>> 
>> > platforms. It seems, that selecting something in the lists causes a
>> > focusOutEvent to be sent to the QScintilla editor window, which
causes
>> 
>> the
>> 
>> > list to close without sending the completion. I am using a recent
>> > QScintilla
>> > snapshot.
>> > 
>> > Regards,
>> > Detlev
>> 
>> I can reproduce it and I agree that the problem is an unexpected focus
>> out
>> event. However I'm at a loss as how to fix it. The focus out event is
>> being
>> sent to the editor window even before the mouse press event that
triggers
>> it is being sent to the list.
>> 
>> Phil
> 
> Does the list get a focus in event before the focus out event of the
> editor?

No.

> Maybe setting the editor as a focus proxy for the list can help.

It already is.

Phil


More information about the QScintilla mailing list