[PyQt] Bug: control-( generates no key event in PyQt demo
Phil Thompson
phil at riverbankcomputing.com
Thu Jan 21 12:49:06 GMT 2010
On Tue, 19 Jan 2010 03:19:24 -0600, "Edward K. Ream" <edreamleo at gmail.com>
wrote:
> This is a follow up to my report "Strange key event problem", given in
> full in the post script.
>
> - Open PyQt demo on Windows 7.
> - Launch Text Object demo from Rich Text menu.
> - Observe that ctrl-9,ctrl-0, and ctrl-shift-9 generate key events,
> but that ctrl-shift-0 does not.
>
> This is a serious issue for my app.
>
> Edward
>
> P.S. Original report follows:
>
> On Windows 7, no key press event is generated for Ctrl-), that is,
> Ctrl-Shift-0. An event *is* generated for Ctrl-(, that is,
> Ctrl-Shift-9.
>
> The keyboard is a Microsoft ergonomic 4000 keyboard. This was such a
> strange thing that I tried two other keyboards, with the same results.
>
> This happens when running qt version 4.5.3, Python 2.6.4.
>
> This problem does *not* happen either on Ubuntu or, iirc, on Windows XP.
>
> My app's key handling is very complex, but all the complexity happens
> after getting the key event. Certainly there are no special cases
> related to keys for binding the event filter.
>
> This looks to be a bug in Qt or PyQt. Any suggestions?
I don't see how this can be a PyQt bug.
Phil
More information about the PyQt
mailing list