You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tooltips on ComboBoxItems in WPF for .NET 6 appear and immediately disappear #5870
.NET Core Version: (e.g. 3.0 Preview1, or daily build number, use dotnet --info) 6.0.101
Windows version: (winver) 22000.376
Does the bug reproduce also in WPF for .NET Framework 4.8?: No
Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? If yes, please file the issue via the instructions here.
NO
I tested your code in Microsoft Visual Studio Professional 2022 (64-bit) Version 17.0.4.Tooltips on ComboBoxItems did not disappear immediately. My environment is Windows 10 (20H2). Did I misunderstand something?
@huiliu-code Your screencast is only demonstrating you hovering over the listbox items which as I mentioned work fine. The repro product has a listbox (on the left) right next to a combobox on the right. if you opened the combobox (dropdown) you'd see that the toolitps on those items disappear on win11. I don't have windows 10 anymore to test.
Hi,@amirburbea. I reproduced your problem. It may be a problem with .Net 6. It is recommended that you could report the problem in the Developer Community.
This seems like a duplicate of #5716.
The actual issue is not only with ComboBoxItem but with tooltips on any control inside a Popup control, caused by a Mouse.Capture(this, CaptureMode.SubTree); call.
@amirburbea If possible, you could also add my user control that reproduces the issue to your PopupRepro.
Activity
huiliu-code commentedon Dec 23, 2021
I tested your code in Microsoft Visual Studio Professional 2022 (64-bit) Version 17.0.4.Tooltips on ComboBoxItems did not disappear immediately. My environment is Windows 10 (20H2). Did I misunderstand something?
lindexi commentedon Dec 24, 2021
See #4612 #5703
amirburbea commentedon Dec 24, 2021
@huiliu-code Your screencast is only demonstrating you hovering over the listbox items which as I mentioned work fine. The repro product has a listbox (on the left) right next to a combobox on the right. if you opened the combobox (dropdown) you'd see that the toolitps on those items disappear on win11. I don't have windows 10 anymore to test.
amirburbea commentedon Dec 24, 2021
@lindexi - Those bugs seem unrelated to this one - is this comment to just group this bug with the others?
lindexi commentedon Dec 24, 2021
Sorry @amirburbea
amirburbea commentedon Dec 24, 2021
Here's the app running in .NET5

Here's the same app running in .NET6

huiliu-code commentedon Dec 24, 2021
Hi,@amirburbea. I reproduced your problem. It may be a problem with .Net 6. It is recommended that you could report the problem in the Developer Community.
Yoooi0 commentedon Dec 29, 2021
This seems like a duplicate of #5716.
The actual issue is not only with ComboBoxItem but with tooltips on any control inside a Popup control, caused by a
Mouse.Capture(this, CaptureMode.SubTree);call.@amirburbea If possible, you could also add my user control that reproduces the issue to your PopupRepro.
SamBent commentedon Jan 3, 2022
This is a duplicate of #5716. Let's track it there.
amirburbea commentedon Jan 3, 2022
But @SamBent that ticket is for somereason labeled as needs more information. I feel that label means they won't work on it
SamBent commentedon Jan 3, 2022
@amirburbea I assure you they will work on it. In this case "they" is me, and I'm working on it right now.