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

QSystemTrayIcon not recreateed after Explorer crash on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.6.1
    • 4.5.2
    • Other
    • None
    • 66d28ef6125294113d6f9b04abdc10d935d0f4b5

    Description

      QSystemTrayIcon may not be recreated after Explorer crash/restart due to WM_TASKBARCREATED being blocked by UIPI

      Steps to reproduce / test case
      1) Launch a Qt application elevated (as administrator) with UAC enabled. (in this case Explorer is a medium privilege process, the application is high privilege).
      2) Kill and restart Windows Explorer using the Task Manager
      3) Any QSystemTrayIcon the application may have will not recreate, as the WM_TASKBARCREATED is being blocked by UIPI (medium -> high process)
      More information

      The WM_TASKBARCREATED must be explicitly allowed through the message filter with ChangeWindowMessageFilter

      A proposed fix is available as http://qt.gitorious.org/qt/qt/merge_requests/1110

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            bachewii Jens
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes