[Bug 58236] New: Tooltip: Icon is incorrectly displayed when no title is set (wrong management of TTM_SETTITLE)
http://bugs.winehq.org/show_bug.cgi?id=58236 Bug ID: 58236 Summary: Tooltip: Icon is incorrectly displayed when no title is set (wrong management of TTM_SETTITLE) Product: Wine Version: 10.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs(a)winehq.org Reporter: kyle.kcsoftwares(a)gmail.com Distribution: --- Created attachment 78565 --> http://bugs.winehq.org/attachment.cgi?id=78565 Icon without title 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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58236 --- Comment #1 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Created attachment 78566 --> http://bugs.winehq.org/attachment.cgi?id=78566 Correct display in Win11 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58236 --- Comment #2 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Created attachment 78567 --> http://bugs.winehq.org/attachment.cgi?id=78567 Sample app and source code -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58236 KRosUser <kyle.kcsoftwares(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58236 --- Comment #3 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Cause is here : https://github.com/wine-mirror/wine/blob/master/dlls/comctl32/tooltips.c#L16... where icon data are defined even if pszTitle is NULL -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58236 KRosUser <kyle.kcsoftwares(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Tooltip: Icon is |Tooltips: Icon is |incorrectly displayed when |incorrectly displayed when |no title is set (wrong |no title is set (wrong |management of TTM_SETTITLE) |management of TTM_SETTITLE) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58236 Larry Starr <Larry_A_Starr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Larry_A_Starr@yahoo.com --- Comment #4 from Larry Starr <Larry_A_Starr@yahoo.com> --- Confirmed. The root cause is in TOOLTIPS_SetTitleT in dlls/comctl32/tooltips.c — hTitleIcon is assigned regardless of whether pszTitle is NULL or empty, contrary to MSDN which states both the title and icon should be suppressed in that case. A fix has been prepared and submitted as merge request !10340: https://gitlab.winehq.org/wine/wine/-/merge_requests/10340 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla