question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tips disappear before anyone could read it.

See original GitHub issue
  • .NET Core Version: Microsoft.NETCore.App 6.0.4, Microsoft.WindowsDesktop.App 6.0.4
  • Windows version: Windows 11 Home, 21H2 build 22000.613
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: No

Problem description: Tooltips on WPF controls disappear just after displayed. We experience that on some systems with different Windows 10/11 versions and different .Net 6 framework versions. I can reproduce it on my machine. PowerToys: #17484

Actual behavior: The tooltip is shown and immediately closed.

Expected behavior: The tip should last longer.

Minimal repro: To reproduce the issue I created a sample WPF Application with a button and a list box with one item. The tooltip for that item appears only for a short time. If I add tooltip for the button the button’s tooltip remains visible. If I add more items to the window the behavior becomes irregular. Also tooltips on WPF debug buttons disappear too fast as well.

Added application sources and stack trace from my machine. stack_trace.txt WpfApp1.zip

I was able to reproduce that with following XAML code: <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApp1" mc:Ignorable="d" Title="MainWindow"> <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <Button Grid.Row="0"> Sample Button 1 </Button> <ListBox Grid.Row="1" Grid.ColumnSpan="2"> <ListBox.Items> <ListBoxItem>Sample Item 1 <ToolTipService.ToolTip> <ToolTip> ToolTip for Sample Item 1 </ToolTip> </ToolTipService.ToolTip> </ListBoxItem> </ListBox.Items> </ListBox> </Grid> </Window>

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Symbaicommented, May 11, 2022

.NET 6.0.5 is now released but the fix is not included in the changelog: https://github.com/dotnet/wpf/issues?q=milestone%3A6.0.5+is%3Aclosed+label%3Aservicing-approved+

2reactions
htcfreekcommented, Apr 22, 2022

@lncubus See @SamBent’s comment here. The issue was for a similar tooltip bug which was fixed in .Net 6.0.3 but it broke tooltips in high-DPI which should be fixed in .Net 6.0.5.

Now things make sense. 💡

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notification messages disappear before I can read them
Press the Windows key and U, select Other Options, and increase "Show notifications for" from 5 seconds to whatever duration suits you.
Read more >
Why does text for hints disappear so damned fast? - GameFAQs
Quite a few times already I've noticed that when some text pops up giving me advice on what to do, it disappears before...
Read more >
While typing a message on messenger why is it just ...
Why did conversations disappear after 'ignoring' someone on Facebook Messenger? Will they come back? When you ignore someone's messages ...
Read more >
Text disappearing while reading it!
Friends have said they sent text before that I never received but this time I was actually staring at the screen and it...
Read more >
Message Disappeared? :: Help and Tips
I noticed all of my chat messages that I read disappeared today after being visible for a few months or something like that....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found