Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
5.2.1
-
None
Description
When I release the ctrl-key and catch it in a keyPressEvent handler, QKeyEvent::key() returns 0 for the event instead of 0x1000021. The modifier is still correct (0x4000000), and Alt and Shift keys do work as expected.
Qt 5.0 did not have this bug. I'm using Qt 5.2.1 on (Gentoo) Linux.
I have attached a simple test case and a simple Makefile for building the test using g++.