Skip to content

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

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

pomianowski merged 1 commit into
lepoco:mainfrom
chucker:fix/1705-v2

Conversation

@chucker

@chucker chucker commented May 2, 2026 •

Copy link
Copy Markdown
Collaborator

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

BlyZeDev commented May 4, 2026

Copy link
Copy Markdown

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

@chucker

chucker commented May 4, 2026

Copy link
Copy Markdown
Collaborator Author

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.

axiomoth pushed a commit to splrad/LayerScape that referenced this pull request Jul 9, 2026
)

Updated [System.Management](https://github.com/dotnet/dotnet) from
10.0.7 to 10.0.9.

<details>
<summary>Release notes</summary>

_Sourced from [System.Management's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[System.ValueTuple](https://github.com/dotnet/maintenance-packages) from
4.5.0 to 4.6.2.

<details>
<summary>Release notes</summary>

_Sourced from [System.ValueTuple's
releases](https://github.com/dotnet/maintenance-packages/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/maintenance-packages/commits).
</details>

Updated [WPF-UI](https://github.com/lepoco/wpfui) from 4.2.1 to 4.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [WPF-UI's
releases](https://github.com/lepoco/wpfui/releases)._

## 4.3.0

## What's Changed
* fix(controls): Add UpdateAutoSuggestBoxSuggestions call on
MenuItemCollection change by @​scanfing in
lepoco/wpfui#1696
* fix(tray): support Unicode for NotifyIcon.TooltipText by @​chucker in
lepoco/wpfui#1706
* feat(controls): Implement `SpinButtonPlacementMode.Compact` for
`NumberBox` by @​chucker in lepoco/wpfui#1709
* fix(controls): Change order of triggers for Button by @​dkuaf in
lepoco/wpfui#1702


**Full Changelog**:
lepoco/wpfui@4.2.1...4.3.0

Commits viewable in [compare
view](lepoco/wpfui@4.2.1...4.3.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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