Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrayToolTip doesn't work on Windows 11 #43

Open
PikeUK opened this issue Oct 12, 2022 · 0 comments
Open

TrayToolTip doesn't work on Windows 11 #43

PikeUK opened this issue Oct 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@PikeUK
Copy link

PikeUK commented Oct 12, 2022

Describe the bug

Using TrayToolTip to create a rich tooltip works on Windows 10 but on Windows 11 the XAML is ignored, instead hovering over the tray icon shows a tooltip that says "ToolTip".

Steps to reproduce the bug

Add a tb:TaskbarIcon.TrayToolTip to your tb:TaskbarIcon, e.g.:

<tb:TaskbarIcon.TrayToolTip>
    <ToolTip>
        <StackPanel>
            <Label Content="Header"
                   FontWeight="Bold" />
            <TextBlock Text="Body"
                       HorizontalAlignment="Center"
                       VerticalAlignment="Center" />
        </StackPanel>
    </ToolTip>
</tb:TaskbarIcon.TrayToolTip>

Expected behavior

A rich tooltip should appear (and does on Windows 10 but not Windows 11). Using the example above a tooltip should appear with a bolded line saying Header followed by a regular line saying Body.

Screenshots

Bug

NuGet package version

2.0.68

Platform

No response

IDE

Visual Studio 2022

Windows Version

Windows 11

WindowsAppSDK Version

No response

WindowsAppSDK Type

No response

Manifest

No response

Additional context

tb:TaskbarIcon.TooltipText works correctly in Windows 11.

@PikeUK PikeUK added the bug Something isn't working label Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant