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

EGLFS: Keyboard modifiers are incorrect on mouse events

    XMLWordPrintable

    Details

      Description

      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)
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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

                    Gerrit Reviews

                    There are no open Gerrit changes