Skip to content

fix(tray): support Unicode for NotifyIcon.TooltipText#1706

Merged
pomianowski merged 1 commit intolepoco:mainfrom
chucker:fix/1705-v2
May 3, 2026
Merged

fix(tray): support Unicode for NotifyIcon.TooltipText#1706
pomianowski merged 1 commit intolepoco:mainfrom
chucker:fix/1705-v2

Conversation

@chucker
Copy link
Copy Markdown
Collaborator

@chucker chucker commented May 2, 2026

Explicitly use the Unicode (wide) variant of Shell_NotifyIcon.

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

Issue Number: fixes #1705

Other information

I tried to migrate this to [LibraryImport] and CsWin32, but both of those seemed to be too much of a rabbit hole.

@pomianowski pomianowski changed the title support Unicode for NotifyIcon.TooltipText fix(tray): support Unicode for NotifyIcon.TooltipText May 3, 2026
@pomianowski pomianowski merged commit 50de276 into lepoco:main May 3, 2026
2 checks passed
@BlyZeDev
Copy link
Copy Markdown

BlyZeDev commented May 4, 2026

I implemented a NotifyIcon using LibraryImport. Might be of good use here: https://github.com/BlyZeDev/DotTray

@chucker
Copy link
Copy Markdown
Collaborator Author

chucker commented May 4, 2026

I implemented a NotifyIcon using LibraryImport. Might be of good use here: https://github.com/BlyZeDev/DotTray

Thanks. I tried to use LibraryImport or CsWin32, but it seemed non-trivial to make them not clash with PolySharp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting NotifyIcon.TooltipText to non-ASCII text renders as ? characters in the tray tooltip

3 participants