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

On eglfs doubleclicks are not delivered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.0, 5.3.1
    • Fix Version/s: 5.3.2
    • Component/s: QPA: EGLFS
    • Labels:
      None
    • Environment:
      embedded linux with eglfs

      Description

      The bugfix of QTBUG-36364 brakes the doubleclick delivery on eglfs platform, because of an issue in QGuiApplicationPrivate::processMouseEvent().
      With eglfs platform plugin the MouseEvent passed to this function will always have QWindow set to NULL. This is spotted within
      QGuiApplicationPrivate::processMouseEvent and the local window pointer is set to a valid window. At the end of the function when the double click is handled there is the following line:
      if (!e->window.isNull()) { // QTBUG-36364, check if window closed in response to press

      In the eglfs case this is always NULL and so no double click events are ever sent.

      You can see the commit that broke this here:
      https://codereview.qt-project.org/#/c/76748/

      Possible fix is to place the change inside of a #ifndef Q_WS_QPA if it will not cause problems with future wayland support.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes