[QScintilla] Issue on Windows platforms
Detlev Offenbach
detlev at die-offenbachs.de
Sat Jan 15 13:04:55 GMT 2011
On Samstag, 15. Januar 2011, Phil Thompson wrote:
> 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
Just another idea. Could connecting to the QApplication.focusChanged signal
lead to a solution. At least one could see, which widget gets the focus in
this situation.
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the QScintilla
mailing list