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

EnterEvent() and leaveEvent() wont work in Qt 5 (regression)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.1
    • 5.0.0
    • GUI: Window management
    • None
    • Mac OS X
    • b077e67fd2538bc972eb5f050c7e0d28681a30ca

    Description

      Demo application attached to this bug report which demonstrates that QMainWindow
      does not receive any enter/leave events. For QWidget classes enterEvent's are received when moving mouse either horizontally or vertically over the widget.

      LeaveEvents are not triggered when moving mouse horizontally, only random vertical events are being fired.

      This is an regression as it works in Qt 4.8.4.

      Edit: When QGLWidget is in a QAbstractScrollArea, Enter or Leave events are not received at all.

      Attachments

        1. code.zip
          1 kB
        2. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes