-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression causing taskbar application icon to flicker often #407
Comments
Looking at the SystemParameters2.cs code using this window, I guess it may need to be visible after all. |
siegfriedpammer
referenced
this issue
in icsharpcode/ILSpy
Apr 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Dirk,
Hope all is well at your end!
We were chasing that anoying problem in our application. It happens quite often that application icon in taskbar flicker many times and what is more anoying application loses focus which causes menus or popups to get closed without a reason.
We traced down that to a change made in 96c6c89 and more precisely in
source\Components\AvalonDock\Controls\Shell\SystemParameters2.cs
.The change causes that singleton Current is not initialized only once but each time it is referenced which in turn creates MessageWindow each time and that provokes the flickering and focus lost. I am not sure that change is made by purpose or wrong type of optimization but the old code works better for us.
If you are OK to revert that change I can create pull request.
Best regards,
Boris.
The text was updated successfully, but these errors were encountered: