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

Crash in widgets application when setting style sheet on receiving mouse move in QWidget::event() with mouse tracking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0
    • 4.8.x, 5.4.1
    • None
    • Window 7, with both: VS2013 and MinWG with G++, so probably not related to a specific compiler.
    •   d984b07221f55ccb8b531e6184a6fb361c324139 (qtbase/5.5, 10.4.2015, 5.5)

    Description

      The program crash on QApplication::quit().
      I am not sure where is the problem exactly, but I have isolated the problem in a small example.

      Basically, I made a window with 2 QWidget inside. QWidgets has mouse tracking enabled to set hover styling with QEvent::MouseMove.
      On of the 2 inner QWidget trigger the application quit().

      When I click on the border of one of them, the application crash.

      Note: In the attached example, make sure cursor is within app window on start, do not move the cursor, it point to the specific position that make the program to crash.

      Attachments

        1. qtbug45178.zip
          2 kB
          Friedemann Kleint
        2. qtbug45178_stack.txt
          6 kB
          Friedemann Kleint
        3. Project.zip
          1 kB
          Adrian
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            Escain Adrian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes