Controls disappear on mose over
See original GitHub issue- .NET Core Version: 5.0.200-preview.20601.7)
- Windows version: 19042.746
- Does the bug reproduce also in WPF for .NET Framework 4.8?: No
- Is this bug related specifically to tooling in Visual Studio: No
Problem description: Controls on mouse hover disappear spontaneously.
Actual behavior: In example below just run the app and quickly move mouse over buttons and you will see that from time to time buttons will disappear.
Expected behavior: Moving over buttons should only change default background color.
Minimal repro:
- Create new WPF (.NET) project in Visual Studio 2019
- use following code as main window content
<StackPanel>
<Button Content="1" />
<Button Content="2" />
<Button Content="3" />
<Button Content="4" />
</StackPanel>
- run app
- move mouse over buttons
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Buttons Become Distorted or Disappear After Mousing ...
When I mouse over some buttons/links they become distorted or disappear altogether. The issue has persisted after updating my GPU driver and ...
Read more >JS Button disappear when mouse hovers above it
Initially, the button appears, but when the mouse hovers over it, the entire button disappears. When I click on where the button was, ......
Read more >Mouse-over on most Win11 buttons makes contents of ...
Mouse -over on most Win11 buttons makes contents of button disappear. Anyone else getting this? Thought it might be a symptom of having ......
Read more >Buttons disapearing on hover
I've just a little bug with the two buttons “toggle fullscreen” and “close” at the top right corner. They disapear on hover.
Read more >Mouse movement makes controls disappear - Microsoft
RE: Mouse movement makes controls disappear I had similar problem with old forms (FPW 2.6) used under VFP8 - the form kept disappearing...
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
This looks suspiciously like the other rendering issues caused by faulty third party software injecting itself into the .NET Core process because they haven’t been updated to detect .NET Core properly (#707 has the main discussion I believe). You may want to check for programs like Nahimic or try to run the program on other machines.
@legistek this issue is closed, tags are probably just leftover. The cause of the problems are third party applications like Nahimic which intrude into other processes incorrectly. For Desktop Framework and some .NET Core versions they seem to have a “whitelist” to disable/adjust this intrusion, but apparently it doesn’t work on all versions of .NET Core. Thats what I take from following the conversations in the issues.
When third party vendors break the operating systems rules there’s little more that can be done than pushing back to them for fixing their code, or uninstalling/disabling it.