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

QPushButton hover enter event not always happen in QGraphicsView when it is resized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.1
    • Widgets: GraphicsView
    • None
    • Windows

    Description

      I have a MainWindow, inside it i have QGraphicsView and inside it i have one QWidget with two buttons.
      In default state of the window(1024x726) i don't have problems.
      But when i resized the window with size which is more than 2 times bigger from the default one, from time to time i don't receive HoverEnter event on my QPushButton ( style for hover is not happen, mouse cursor is not changed ). But when i move the mouse outside of the button i receive HoverLeave event.
      On the first screenshot, my app is in default size -> everything is fine.
      On the second one it is resized, my mouse is hover Button2, and mouse hover event is not received.
      The source is attached too.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Yordan.Bonev Yordan.Bonev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes