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

EGLFS: Keyboard modifiers are incorrect on mouse events

XMLWordPrintable

      On EGLFS platform integration the keyboard modifiers on mouse events are incorrect when for example Ctrl or Shift key is pressed and released and them mouse buttons is pressed.

      Here is how to reproduce:
      1. Build Qt with EGLFS plugin
      2. Build the test application against Qt
      3. Start the test application with parameter '-platform eglfs'
      4. Press Mouse button.
      5. Press Ctrl button from keyboard
      6. Press Mouse button.

      Here is sequence (mouse click - Ctrl click - mouse click) from the test application attached:

      MainView::mousePressEvent - modifiers: QFlags<Qt::KeyboardModifiers>(NoModifier)
      MainView::mouseReleaseEvent - modifiers: QFlags<Qt::KeyboardModifiers>(NoModifier)
      MainView::keyPressEvent - key: 0x1000021, ControlModifier
      MainView::keyReleaseEvent - key: 0x1000021, NoModifier
      MainView::mousePressEvent - modifiers: QFlags<Qt::KeyboardModifiers>(ControlModifier)
      MainView::mouseReleaseEvent - modifiers: QFlags<Qt::KeyboardModifiers>(ControlModifier)
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            tuheimon Tuomas Heimonen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  There are no open Gerrit changes