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
{{ message }}
Repository navigation
Tooltip flicker in Ribbon Elements that are inside menu/dropdown #6220
Steps to reproduce:
Open app .NET 5 - all tooltips for RibbonButton/RibbonMenuItem/RibbonGallery can be read by user ( they do not close unless move move)
Open app .NET 6 - tooltip from RibbonMenuItem/RibbonGallery can't be read by user they close in a matter of milliseconds. RibbonButton tooltip still works
Reacted by lindexi, aquinn39, Agent, Ray Wynn, seanmamasde and Nigel Bess
I have tried .NET Runtime 6.0.3 and complied with .NET SDK 6.0.201, the problem still not fixed.
Just simply add more items to ComboBox, the first item may work, but the others may not work.
OptimaDan's comment is true. I also found that this bug affects all controls.
You can reproduce it even with the simplest possible WPF app generated from template!
I also use 4k display and 175% scaling.
I think this is a major regression since the latest vs2022 update (17.1.1) and it should be fixed in higher priority.
In self contained you can specify the runtime yourself
Is it possible to specify a specific runtime (sub)version, e.g. "net6.0.2" ? I'm afraid this will not work. The parameters "-f net5.0" or "-f net6.0" should work on the other hand, but that does not resolve the problem with the Windows Desktop Runtime 6.0.3.
@redseujac75
As I already said, I believe that is impossible when you are using the framework dependent app model.
Because you are "dependent" on the "framework" that is installed on the client machine.
With "-f" you are only specifing the minimum framework you are supporting eg. saying ".net6.0" means you are supporting anything on ".net6.0.x".
This is so that when a new hotfix release comes eg. .net6.0.1, and your clients installs this update either manually or through windows update, you don't have to rebuild your app and each and every client that has the app would need to re-install it.
You don't need to lift a finger and your app automatically gets all the fixes that came with .net6.0.1.
This is the desired output because normally the fixes within a hotfix release are good, and shouldn't cause issues.
There are now 3 possible ways to fix this
uninstall the runtime that causes the issue and go back the old one, every client of your app that faces the issue would need to do this
pick up a stick and hit the person who introduced the bug with that stick so long untill the bug gets fixed and a new runtime gets released, every client of your app would need to install the new hotfix release
remove the "framework dependency" by switching your app model to "self-contained", with "self-contained" it doesn't matter what runtime is installed on the clients machine because your app will run on that runtime you deliever with your app, the "whole" runtime is bundeld with your app and you are in full control when you update the runtime and when not
Thank you. But with "self-contained" you unfortunately also deliver actually the damned runtime 6.0.3 which is on the developer computer :(
It's also rather problematic to uninstall the runtime 6.0.3 because it has been installed within the most recent Visual Studio 2022 update :(
So finally what I wanted to explain is that it isn't that easy to specify the runtime yourself in self-contained in the given actual circumstances. So, indeed we will have to hit the person who introduced the bug :)
A final remark: updates for .NET Desktop Runtimes are normally never included in Windows Updates.
It's also rather problematic to uninstall the runtime 6.0.3 because it has been installed within the most recent Visual Studio 2022 update :(
Why would it be problematic?
Thank you. But with "self-contained" you unfortunately also deliver actually the damned runtime 6.0.3 which is on the developer computer :(
You can change it with a global.json
{
"sdk": {
"version": "6.0.200"
}
}
This app will display .NET 6.0.2 while running the ConsoleApp1.exe from the publish folder because there it is configured as self-contained, but from bin/debug it will display .NET 6.0.3 as it is running with the latest .net 6.0.x version that is installed on the machine.
A final remark: updates for .NET Desktop Runtimes are normally never included in Windows Updates.
What will be delivered from MU?
Updates with both security and non-security fixes for all supported versions of .NET Core (currently .NET Core 2.1, .NET Core 3.1 and .NET 5.0) will be available on MU. These updates will target the .NET Core SDK, .NET Core Runtime, ASP.NET Core Runtime, and the .NET Core Desktop Runtime installers deployed either independently or as part of another application. .NET Core runtime binaries included with an application built as a self-contained deployment will not be updated by MU.
Notice that I don't like much the self-contained: it creates exe files that are too big. My program (single exe file): 143.995 kB :( Without self-contained: single exe file 8.388 kB. The difference is really too big.
Concerning the updates I indeed meant "Windows" updates not "Microsoft" updates. But you are right: users can receive MS updates after selecting “Receive updates for other Microsoft products when you update Windows” under Settings > Update & Security > Windows Update > Advanced options.
The issue is related to scale settings other than 100% (merged report #6336) on Windows 11.
System -> Display -> Scale = 100% problem disappears.
If this helps getting it fixed sooner?
@RajeshAKumar .Net 6.0.5 is the next servicing release so it probably can't be sooner than .Net 6.0.5. The current servicing release for April is .Net 6.0.4 so you can expect .Net 6.0.5 to be released next month.
I encountered this flashing tooltips also. It really affects my workflow as the viewing IDE at 100% makes the tiny fonts on the menus almost impossible to read. I wasted 2 days tracking this bug down (reinstalling windows and Visual Studio and trying on various other PCs). I wish I saw this discussion last week :( Surely ms can push this .Net update a little earlier than usual (before I go blind!).
Activity
lindexi commentedon Mar 8, 2022
See #5870 #4612 #5703 #5716
Could you try dotnet 6.0.2 version?
YerongAI commentedon Mar 9, 2022
I have tried .NET Runtime 6.0.3 and complied with .NET SDK 6.0.201, the problem still not fixed.
Just simply add more items to ComboBox, the first item may work, but the others may not work.
YerongAI commentedon Mar 9, 2022
Test result: 1 and 2 worked, others not.
YerongAI commentedon Mar 9, 2022
More info: This problem occurs only on non-100% scaling.
OptimaDan commentedon Mar 10, 2022
This problem does not just affect ComboBox. It seems to affect all controls.
Another example:
<Grid ToolTip="Flash" Background="Red" Height="100"/>I have Windows 11 Pro (22000.556) with a 4K monitor. The tooltip flash issue only occurs when I set the display scale to 150% or more.
.NET 5.0 works fine. It's only an issue with .NET 6.0.3
ryoasai commentedon Mar 11, 2022
OptimaDan's comment is true. I also found that this bug affects all controls.
You can reproduce it even with the simplest possible WPF app generated from template!
I also use 4k display and 175% scaling.
I think this is a major regression since the latest vs2022 update (17.1.1) and it should be fixed in higher priority.
ryoasai commentedon Mar 11, 2022
I installed the previous SDK and put global.json but the problem still persists.
Is this caused by windows update rather than dotnet update?
Windows10(21H2)
install date 2021/02/02
os build 19044.1586
Rand-Random commentedon Mar 11, 2022
@ryoasai
It is caused by the runtime in which .net version your application is running and not with which sdk you are working/building.
you can check which runtime your application is using by calling this in your app.
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.runtimeinformation.frameworkdescription?view=net-6.0
To force a different runtime, I believe the only way is to switch from framework dependent to self contained.
https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained
In self contained you can specify the runtime yourself
redseujac75 commentedon Mar 12, 2022
Is it possible to specify a specific runtime (sub)version, e.g. "net6.0.2" ? I'm afraid this will not work. The parameters "-f net5.0" or "-f net6.0" should work on the other hand, but that does not resolve the problem with the Windows Desktop Runtime 6.0.3.
Rand-Random commentedon Mar 12, 2022
@redseujac75
As I already said, I believe that is impossible when you are using the framework dependent app model.
Because you are "dependent" on the "framework" that is installed on the client machine.
With "-f" you are only specifing the minimum framework you are supporting eg. saying ".net6.0" means you are supporting anything on ".net6.0.x".
This is so that when a new hotfix release comes eg. .net6.0.1, and your clients installs this update either manually or through windows update, you don't have to rebuild your app and each and every client that has the app would need to re-install it.
You don't need to lift a finger and your app automatically gets all the fixes that came with .net6.0.1.
This is the desired output because normally the fixes within a hotfix release are good, and shouldn't cause issues.
There are now 3 possible ways to fix this
Everything I wrote is to my best of knowledge.
redseujac75 commentedon Mar 12, 2022
Thank you. But with "self-contained" you unfortunately also deliver actually the damned runtime 6.0.3 which is on the developer computer :(
It's also rather problematic to uninstall the runtime 6.0.3 because it has been installed within the most recent Visual Studio 2022 update :(
So finally what I wanted to explain is that it isn't that easy to specify the runtime yourself in self-contained in the given actual circumstances. So, indeed we will have to hit the person who introduced the bug :)
A final remark: updates for .NET Desktop Runtimes are normally never included in Windows Updates.
Rand-Random commentedon Mar 12, 2022
@redseujac75
Why would it be problematic?
You can change it with a global.json
This app will display .NET 6.0.2 while running the ConsoleApp1.exe from the publish folder because there it is configured as self-contained, but from bin/debug it will display .NET 6.0.3 as it is running with the latest .net 6.0.x version that is installed on the machine.
That seems to be incorrect, as you can see here, unless you actually meant the difference between Windows Update and Microsoft Update:
https://devblogs.microsoft.com/dotnet/net-core-updates-coming-to-microsoft-update/
Edit:
After a bit googling I found this
https://docs.microsoft.com/en-us/dotnet/core/versions/selection
and you may try
<RollForward>LatestPatch</RollForward>to only forward if a 6.1 would get released.
on self-contained specifying this seems easier than the global.json
<RuntimeFrameworkVersion>6.0.2</RuntimeFrameworkVersion>redseujac75 commentedon Mar 13, 2022
Thank you very much for your great answer!
With adding a global.json file and publishing "self-contained" it didn't work for my project (Windows Desktop app - C# WPF). I don't know why.
Meanwhile I also found the https://docs.microsoft.com/en-us/dotnet/core/versions/selection and added
<RuntimeFrameworkVersion>6.0.2</RuntimeFrameworkVersion>to my project file. Now it's working with "self-contained" :)Notice that I don't like much the self-contained: it creates exe files that are too big. My program (single exe file): 143.995 kB :( Without self-contained: single exe file 8.388 kB. The difference is really too big.
Concerning the updates I indeed meant "Windows" updates not "Microsoft" updates. But you are right: users can receive MS updates after selecting “Receive updates for other Microsoft products when you update Windows” under Settings > Update & Security > Windows Update > Advanced options.
13 remaining items
DanStevens commentedon Apr 9, 2022
Is there a way to downgrade .NET to 6.0.2 until this issue is properly fixed?
Added ToolTip to `LEDStrip` user control that displays decimal and he…
Added ToolTip to `LEDStrip` user control that displays decimal and he…
Added ToolTip to `LEDStrip` and `DipSwitch` user controls that displa…
Ray-Wynn commentedon Apr 12, 2022
The issue is related to scale settings other than 100% (merged report #6336) on Windows 11.
System -> Display -> Scale = 100% problem disappears.
If this helps getting it fixed sooner?
RajeshAKumar commentedon Apr 19, 2022
This is breaking production system and we can't dictate to end users how they should use the windows scaling.....
Can we expect a patch sooner than 6.05?
Please consider this a high priority.
ThomasGoulet73 commentedon Apr 20, 2022
@RajeshAKumar .Net 6.0.5 is the next servicing release so it probably can't be sooner than .Net 6.0.5. The current servicing release for April is .Net 6.0.4 so you can expect .Net 6.0.5 to be released next month.
RajeshAKumar commentedon Apr 20, 2022
Sure if it is within a month, that is great. Thank you.
johnco3 commentedon Apr 21, 2022
I encountered this flashing tooltips also. It really affects my workflow as the viewing IDE at 100% makes the tiny fonts on the menus almost impossible to read. I wasted 2 days tracking this bug down (reinstalling windows and Visual Studio and trying on various other PCs). I wish I saw this discussion last week :( Surely ms can push this .Net update a little earlier than usual (before I go blind!).
Rand-Random commentedon May 10, 2022
FYI - 6.0.5 got released
https://devblogs.microsoft.com/dotnet/may-2022-updates/
RajeshAKumar commentedon May 10, 2022
Thank you for notifying about the release!
This is really good and I could verify that it works fine for our products.
laurentkempe commentedon May 11, 2022
6.0.5 also fixes the issue I had with tooltip 👍🏼 !
singhashish-wpf commentedon May 11, 2022
Thank you all for testing and confirming the fix.