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

Closing a window while minimised calls hideEvent again

XMLWordPrintable

    • Windows

      Minimise a widget then hover over it in the task bar and click the cross without maximising it.

      It will call hideEvent twice without a showEvent call.

      I was expecting every hideEvent call to be paired with a showEvent. Is this not the case?

       

      Steps:

      1) Run the example file attached

      2) Minimise the window

      3) Hover over the application in the task bar and click the cross.

      The console should look like this

      show
      hide
      hide 

       

        1. image-2025-10-28-08-30-13-168.png
          image-2025-10-28-08-30-13-168.png
          29 kB
        2. test_hide.cpp
          0.6 kB
        3. test_hide.py
          0.5 kB
        For Gerrit Dashboard: QTBUG-141517
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            gentlegiantjgc J C
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change