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

Wrong icon frame selected for window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 4.6.3
    • Widgets: Main Window
    • None

    Description

      If a Qt application (for any Windows desktop version) has a default icon (IDI_ICON1 resource), Qt automatically sets this icon for all windows, but if the icon has 2 frames for different sizes, Qt selects only one (32x32).

      For the titlebar, the application should select the small icon if possible, for other places (task switch popup, volume mixer in vista/win7, taskbar with big icons enabled) the large icon should be selected.

      The attached project demonstrates problem. The small frame from test.ico with blue boxes should have been set in the titlebar, but this does not happen.

      The attached patch fixes this problem.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            naevdal Sigrid Fjell Nævdal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes