[Bug 52578] New: ShellAbout does not support # in app name

WineHQ Bugzilla wine-bugs at winehq.org
Mon Feb 21 18:49:52 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52578

            Bug ID: 52578
           Summary: ShellAbout does not support # in app name
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: shell32
          Assignee: wine-bugs at winehq.org
          Reporter: mazin07 at gmail.com
      Distribution: ---

EXPECTED

When calling ShellAbout*(), szApp can have a '#' character that triggers
special behavior. The substring before '#' will go in the title bar and the
substring after '#' will go in the body of the about dialog.

ACTUAL

The '#' special behavior is not implemented in Wine, leading to the wrong text
displayed in the About dialog. See the attachment "windle-about.png" that shows
the incorrect behavior. The dialog title should say "About Windle" and the
dialog body should say "Windle 1.0 16-bit".

SUGGESTED FIX

In shell32_main.c:ShellAboutW, the function should check for '#' and extract
the appropriate substrings. If the string does not contain '#', then it should
prepend "About " to the string and use that as the title.

shell32.rc will then need to have the "About %s" changed to just "%s" so that
"About" does not get duplicated.

-- 
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.



More information about the wine-bugs mailing list