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

QT Window minimized and restores without generating QHideEvent and QShowEvent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.5
    • GUI: Window management
    • None
    • RHEL 8.3

    Description

      When using a custom Window Manager that manages application visibility by using XMapWindow/XUnmapWindow calls, QT5 apps are receiving the XCB Event, minimizing and restoring the window, but NOT generating the QHideEvent and QShowEvents, so the hideEvent and showEvent functions are not being invoked.

      This can be reproduced on the Gnome Desktop running on RHEL 8.3 by using the xdotool test application to send Map and Umap events.

      I have included a set of simple test apps to show the issue. One is for QT4, which behaves as expected (we get the QHideEvent and QShowEvent) and one is for QT5, which shows the undesired behavior.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            dalepennington Dale Pennington
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes