-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keypresses are registered twice #59
Comments
Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).
Resolves issue #59 (each QtCore.QEvent.KeyPress and QtCore.QEvent.KeyRelease → <<cset a67c0c2>> |
Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington). Merged in cbillington/runmanager/QShortcuts (pull request #23) Use QShortcuts for keyboard shortcuts, resolving issue #59 Approved-by: Russell Anderson russell.anderson@monash.edu → <<cset 63f9a82>> |
Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington). Use QShortcuts for keyboard shortcuts, resolving issue #59 → <<cset 0a3768c>> |
Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington). Merged in cbillington/runmanager/QShortcuts (pull request #23) Use QShortcuts for keyboard shortcuts, resolving issue #59 Approved-by: Russell Anderson russell.anderson@monash.edu → <<cset 63f9a82>> |
…t.KeyPress and QtCore.QEvent.KeyRelease event was handled twice).
…doubling up on keypress events in the tab widget like in issue labscript-suite#59
…uite#23) Use QShortcuts for keyboard shortcuts, resolving issue labscript-suite#59 Approved-by: Russell Anderson <russell.anderson@monash.edu>
Original report (archived issue) by Russell Anderson (Bitbucket: rpanderson, GitHub: rpanderson).
Since Qt5 (pull request #9), keypress events have been registered twice. Below I have debugged this by adding
logger.info
lines toon_keyPress
andon_keyRelease
.Pressing F5 once used to (up to and including e2b367f) result in:
... but now results in (6459a3c and beyond):
To properly intercept the
QtCore.QEvent.KeyPress
and not have it handled twice,notify
ofKeyPressQApplication
should return 1 (orTrue
) for relevant events SO.The text was updated successfully, but these errors were encountered: