Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36582

Keyboard input doesn't work after clicking into QGLWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.4.0 RC
    • 5.1.1
    • GUI: OpenGL
    • None
    • MacBook5,1
      Mac OS X 10.6.8
      Qt 5.1.1 clang 64bit from the online installer

      Please see the attached code. It creates a QGLWidget, QSpinBox and QCheckBox.

      If I click into the QGLWidget the spinbox doesn't allow keyboard input and the checkbox can't be toggled with the space-key anymore. Using the tab-key to switch the keyboard focus between the spinbox and checkbox still works.

      Everything works fine before clicking into the QGLWidget. Replacing the QGLWidget with a normal QWidget solves this problem.

        1. main.cpp
          0.7 kB
        2. TestKeyboard.pro
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            salino Martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes