Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
Linux, GNOME 3.6
-
3f99983e76d359cb45b15ae96150d4cc798b61c7
Description
I have complete code demonstrating the exact issue in detal. See Bug.tar.gz.
When you add a QGLWidget to your main window, keyboard input are hindered from reaching the editable widget. Keyboard input ONLY reaches the editable widget if you hover that widget with the mouse. Should you hover say the QGLWidget even though the QTreeWidget is being edited, keyboard input are hindered from reaching the QTreeWidget.
Scenario: start editing the QTreeWidget as provided in the code. Write text when hovering the QTreeWidget -> it works. Keep writing text but hover the QGLWidget instead, or try to hover the statusbar. It doesn't work. Keyboard input is only reaching the QTreeWidget when hovering it (or having the mouse outside of the window). If you change the QGLWidget to a normal QWidget it works as it should. Text input is reching the focused widget even when not hovering it.
(Microsoft) Windows is not affected but Linux is. I'm using Qt 5.0.1 on Fedora 18 with GNOME 3.6. Tried with Intel driver and NVIDIA, all the same results.