[PyQt] PyQt (Qt) widgets ignore Mac Keyboard Viewer input

Phil Thompson phil at riverbankcomputing.com
Fri Nov 25 17:09:04 GMT 2011


On Fri, 25 Nov 2011 08:50:44 -0800, David Cortesi <davecortesi at gmail.com>
wrote:
> I wrote previously about (Py)Qt widgets ignoring generated keystrokes
from
> third-party apps like Typinator, but now I have verified that they also
> ignore input from the official Mac OS built-in keystroke generator, the
> Apple Keyboard Viewer. To test this,
> 
>    - open System Preferences
>    - select the Language and Text pane
>    - at the bottom, set the check box “Show input menu in menu bar”
> 
> Now from the menu bar you can pop out a Character Viewer that allows you
to
> view and enter any Unicode, or a Keyboard Viewer that shows you all the
> special characters entered with modifier keys and enter them. These
> generated keystrokes are ignored by Qt widgets, altho they are seen by
> BBEdit
> and by official Apple apps such as TextEdit.
> 
> What I'm concerned about here, before filing a Qt bug, is that I may be
> missing some feature or option I could be setting on my QLineEdit or
> QTextEdit widget to fix this.

Works fine for me using...

OS/X v10.6.8
Qt v4.8.0rc
Current PyQt snapshot
The C++ and Python versions of the lineedits example.

Phil


More information about the PyQt mailing list