Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.1.1
-
None
-
Linux 3.5.0-22-generic #34-Ubuntu SMP x86_64 GNU/Linux
Qt 5.1.0 (64bit)
Description
When a QGLWidget is set as the child of another widget, it's keyPressEvent and keyReleaseEvents QKeyEvent::isAutoRepeat() return "false" when a key is held and a mouse is over the QGLWidget.
Steps to reproduce:
1. Run and put the mouse inside the QGLWidget.
2. Click once and hold down any keyboard key.
> isAutoRepeat() reports false, should be true.
3. With the key held, move the mouse cursor out of the window.
> isAutoRepeat() retports true
4. With the key held, move the mouse cursor back inside the window.
> isAutoRepeat() reports false again, should be true.