Comboboxitem tooltip bug
See original GitHub issue- .NET Core Version: NET 6, NET 5
- Windows version: windiws 10 1803
NET 6
NET 5
<Grid>
<ComboBox Width="100" Height="20">
<ComboBoxItem ToolTip="1">13.42</ComboBoxItem>
<ComboBoxItem ToolTip="2">15.82</ComboBoxItem>
</ComboBox>
</Grid>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Displaying a Tooltip for ComboBoxItem - works after ...
The problem is that when I open the Combobox for the first time I don't get the Tooltip... Strange because the method is...
Read more >NET 6, WPF: the ToolTip doesn't work on ComboBoxItem
Hi, In .NET 6, the tooltip of the ComboBoxItem doesn't work if the ComboBox is inside of a UserControl. It shows up for...
Read more >ComboBox doesn't show tooltip over its TextField
Place the cursor over the middle of the ComboBox. RESULT: Tooltip is not shown. If you place the mouse over the drop-down button...
Read more >[RESOLVED] ComboBox Item Tool Tips. 90% Working. ...
So i've got this Combobox with tooltips for each individual item and it 90% works apart from this visual drawing bug.
Read more >Problems with custom tooltip method, ComboBox
I'm having an issue with my custom tooltip method. It is pretty simple: if isMouseOver() is true for a given component, I get...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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 targetingnet6.0-windows
, switching tonet5.0-windows
also makes the tooltip behave normally.@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.