question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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.

1 2 3 4

Expected behavior: Moving over buttons should only change default background color.

Minimal repro:

  1. Create new WPF (.NET) project in Visual Studio 2019
  2. use following code as main window content
<StackPanel>
      <Button Content="1" />
      <Button Content="2" />
      <Button Content="3" />
      <Button Content="4" />
</StackPanel>
  1. run app
  2. move mouse over buttons

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
weltkantecommented, Feb 11, 2021

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.

1reaction
weltkantecommented, Nov 7, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found