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

Losing Enter-event by QQuickWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.6, 5.12.4
    • Quick: Widget
    • None
    • All

    Description

      QQuickWidget does not accept correctly QEvent::Enter event when widget shifted from the upper left corner of parent window (for example is in QSplitter, not float QDockWidget and etc.)

      A possible solution: changing call of method QEnterEvent::windowPos() to QEnterEvent::localPos() in constructor of  mappedEvent at QQuickWidget::event (similarly as implemented in QQuickWidget::mousePressEvent, QQuickWidget::mouseMoveEvent and QQuickWidget::mouseReleaseEvent).

       

      Sample is attached in the archive (Bug_enter_event_quickwidget.zip).

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            amuralev Artem Muralev
            Votes:
            10 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes