Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-20197

[comctl32] Tooltips: Icon is incorrectly displayed when no title is set (wrong management of TTM_SETTITLE)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None

    Description

      reactos-bootcd-0.4.16-dev-1140-g53685ad-x86-gcc-lin-dbg

      When TTM_SETTITLE is not set, or empty title is used, icon shall not be displayed

      See https://learn.microsoft.com/en-us/windows/win32/controls/ttm-settitle for reference

      Correct display (Windows)

      See sample application and source code

      Cause of the problem is : https://github.com/reactos/reactos/blob/master/dll/win32/comctl32/tooltips.c#L1725

      infoPtr->hTitleIcon is set, even if pszTitle is NULL

      Wine 10.7 is affected too: https://bugs.winehq.org/show_bug.cgi?id=58236

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            KRosUser KRosUser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: