[PyQt] Possible incompatibility between latest PyQt5 and QScintilla wheels

Detlev Offenbach detlev at die-offenbachs.de
Thu Oct 3 10:29:31 BST 2019


Am Donnerstag, 3. Oktober 2019, 11:18:46 CEST schrieb Phil Thompson:
> On 03/10/2019 09:20, Detlev Offenbach wrote:
> > Am Mittwoch, 2. Oktober 2019, 22:36:33 CEST schrieb Phil Thompson:
> >> On 02/10/2019 19:11, Detlev Offenbach wrote:
> >> > Hi,
> >> > 
> >> > I just observed a strange issue when using eric6. The focus handling
> >> > does not
> >> > work correctly when a calltips boy is shown. I suspect that this is
> >> > caused by
> >> > some incompatibility between QScintilla (compiled agains Qt 5.12.x) and
> >> > PyQt5
> >> > (compiled against Qt 5.13.1). All was installed via pip install. The
> >> > issue
> >> > here is, that the focus is stolen by the calltips box without
> >> > QScintilla
> >> > receiving a focusOut event. When the calltips box is closed, QScintilla
> >> > doesn't get a focusIn event.
> >> > 
> >> > After reverting PyQt5 to 5.13.0 everything worked again as it did for
> >> > years.
> >> > 
> >> > Maybe a QScintilla compiled against Qt 5.13.1 could fix it. Maybe there
> >> > is an
> >> > issue in Qt 5.13.1. Sorry for not being able to specify what is the
> >> > root
> >> > cause.
> >> 
> >> I think it is more likely that it is an issue with Qt 5.13.1 and so
> >> re-compiling against that version won't help.
> >> 
> >> There is really nothing I can do when a new Qt release has N bug fixes
> >> and M regressions.
> > 
> > However, the interesting thing is, I only observed it with QScintilla
> > in
> > relation to Calltips/Completion lists. Does QScintilla do any magic
> > here?
> 
> I don't know what you mean by "magic". It uses the documented Qt API.

I thought so. I just asked to get it confirmed. Is there a way to get notified, 
when Calltip boxes get closed? I can see several different signals emitted for 
completion or user lists but haven't seen a signal for calltip cancellation.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list