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
@singhashish-wpf
I think he got the naming confused, the issue is only happening in .NET6 (6.0.100), in .NET5 (5.0.403) the behavior is correct.
I have the exact same issue but when using Popup's. I think this is related since ComboBox also uses a Popup.
The issue seems to be coming from calling Mouse.Capture(control, CaptureMode.SubTree); on the parent control that owns the popup.
Removing the Mouse.Capture(this, CaptureMode.SubTree); call fixes the issue and makes the tooltip behave normally, obviously that is not a proper fix.
As in OP the issue only happens when targeting net6.0-windows, switching to net5.0-windows also makes the tooltip behave normally.
If you mean that there is a delay I think that should be a different issue.
You didnt explain anything in the OP so I thought this was about .NET6 tooltip not working at all.
@cheesi It is most likely that this will be delivered with the next servicing release for 6.0; This still depends on some other factors, Will keep this posted once there is a confirmation.
Having the same issue with 6.0.3. Works on my home (Win11) and work (Win10) computer fine, but customer (Win10) recorded a video showing the same behavior on his. Not sure what's the difference between machine to cause the issue, but it was working in NET5 and started showing up when upgrading to NET6. It's happening not just on combobox but on any element with tooltips.
I believe my customer is having a custom 125% zoom factor applied to his monitor in the Windows options. Might be what's causing it.
Not to pile on, but this is causing a lot of heartburn for me.
Since I went along with "implicit usings" in .NET6, going back to 5 would mean editing a bunch of files. Please tell me you guys are going to fix this soon!
ghost locked as resolved and limited conversation to collaborators on Apr 25, 2022
Activity
lindexi commentedon Nov 22, 2021
See #4612
singhashish-wpf commentedon Nov 23, 2021
@AntonNah Could you please specify the exact .Net Core version you are using?
Yoooi0 commentedon Nov 24, 2021
@singhashish-wpf
I think he got the naming confused, the issue is only happening in .NET6 (6.0.100), in .NET5 (5.0.403) the behavior is correct.
I have the exact same issue but when using Popup's. I think this is related since ComboBox also uses a Popup.
The issue seems to be coming from calling
Mouse.Capture(control, CaptureMode.SubTree);on the parent control that owns the popup.Sample control code:
Removing the
Mouse.Capture(this, CaptureMode.SubTree);call fixes the issue and makes the tooltip behave normally, obviously that is not a proper fix.As in OP the issue only happens when targeting
net6.0-windows, switching tonet5.0-windowsalso makes the tooltip behave normally.AntonNah commentedon Nov 25, 2021
Net5 also not correct as seen in the gif.
Yoooi0 commentedon Nov 25, 2021
If you mean that there is a delay I think that should be a different issue.
You didnt explain anything in the OP so I thought this was about .NET6 tooltip not working at all.
amirburbea commentedon Dec 17, 2021
I made a repro of this bug: https://github.com/amirburbea/PopupRepro
Run this app under .NET 5 and .NET 6 and you'll see that ListBoxItem has no issues with tooltip, but ComboBoxItem does.
cheesi commentedon Dec 31, 2021
I can confirm this issue with .NET 6.0.101.
cheesi commentedon Feb 1, 2022
As this is closed now: will this fix be delivered with .NET 6.0.2?
singhashish-wpf commentedon Feb 1, 2022
@cheesi It is most likely that this will be delivered with the next servicing release for 6.0; This still depends on some other factors, Will keep this posted once there is a confirmation.
Downgrade to .net 5.0
Mgamerz commentedon Mar 17, 2022
Should this be re-opened, since the issue seems to be worse now than it was before, and it's been a servicing release (6.0.3 came out in march)?
Dunge commentedon Mar 22, 2022
Having the same issue with 6.0.3. Works on my home (Win11) and work (Win10) computer fine, but customer (Win10) recorded a video showing the same behavior on his. Not sure what's the difference between machine to cause the issue, but it was working in NET5 and started showing up when upgrading to NET6. It's happening not just on combobox but on any element with tooltips.
I believe my customer is having a custom 125% zoom factor applied to his monitor in the Windows options. Might be what's causing it.
@singhashish-wpf could you take a second look at it?
Mgamerz commentedon Mar 23, 2022
lindexi commentedon Mar 23, 2022
@Mgamerz Do you means #6289 ?
Mgamerz commentedon Mar 23, 2022
Yes, as well as reports here.
toristorii commentedon Mar 24, 2022
.NetCore 6.0.3 here and having the same problem with tooltips on pretty much anything, even a button. My scaling set to 150%
Steps I did to repro:
Created a new .net core 6 wpf app, in Visual Studio.
Added a button to the grid in MainWindow.xaml as follows:
<Button Content="Test" Height="25" Width="100" ToolTip="Hello World"/>Run.
Mouse over the button and 95% of the time it only appears for a fraction of a second.
Change to .netcore 5 and it works correctly.
Change back to .netcore 6 and scaling set to 100% and it works correctly too.
ThomasGoulet73 commentedon Mar 24, 2022
@toristorii This is the same issue as #6289, you should follow the status there since closed issues are less likely to receive updates.
jamiehankins commentedon Mar 26, 2022
Not to pile on, but this is causing a lot of heartburn for me.
Since I went along with "implicit usings" in .NET6, going back to 5 would mean editing a bunch of files. Please tell me you guys are going to fix this soon!