On Sat, 15 Jan 2011 14:04:55 +0100, Detlev Offenbach <[email protected]> wrote: > On Samstag, 15. Januar 2011, Phil Thompson wrote: >> On Sat, 15 Jan 2011 12:17:09 +0100, Detlev Offenbach >> >> <[email protected]> wrote: >> > On Freitag, 14. Januar 2011, Phil Thompson wrote: >> >> On Thu, 23 Dec 2010 16:00:18 +0100, Detlev Offenbach >> >> >> >> <[email protected]> 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.
Unfortunately, given when the signal is emitted, it doesn't help. Phil _______________________________________________ QScintilla mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
