Closed amirburbea closed 2 years ago
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.
@lindexi - Those bugs seem unrelated to this one - is this comment to just group this bug with the others?
Sorry @amirburbea
Here's the app running in .NET5
Here's the same app running in .NET6
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.
This is a duplicate of #5716. Let's track it there.
But @SamBent that ticket is for somereason labeled as needs more information. I feel that label means they won't work on it
@amirburbea I assure you they will work on it. In this case "they" is me, and I'm working on it right now.
dotnet --info
) 6.0.101winver
) 22000.376Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem description: In .NET 6, WPF tooltips on ComboBoxItems seem to close instantly, In .NET 4.8/5 this is not the case.
Actual behavior: Popup appears but immediately vanishes
Expected behavior: Popup on ComboBoxItem stays visible
Minimal repro: https://github.com/amirburbea/PopupRepro