Skip to content
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

[Windows11] keyboard toolTip and mouse toolTip are always displayed continuously #12374

Open
Olina-Zhang opened this issue Oct 23, 2024 · 7 comments
Assignees
Labels
📚 documentation Documentation bug or improvement external-OS-issue Issue caused by an external OS component such as Common Controls.
Milestone

Comments

@Olina-Zhang
Copy link
Member

.NET version

.NET SDK 10.0.100-alpha.1.24510.13

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No

Issue description

On Windows 11, controls' keyboard toolTip and mouse toolTip are always displayed continuously. This issue doesn't repro on Win10.

ToolTip_WIN10.WIN11.mp4

Steps to reproduce

  1. Create a Winforms .NET application
  2. Add 2 buttons and 2 tooltip
  3. Set tooltip for these 2 buttons
  4. Build and run
  5. Tab button to display tooltip or use mouse to display tooltip, wait for tooltip to disappear

Use test app: WinFormsApp3.zip

@Olina-Zhang Olina-Zhang added the untriaged The team needs to look at this issue in the next triage label Oct 23, 2024
@Tanya-Solyanik
Copy link
Member

@Olina-Zhang, @LeafShi1 - could you please investigate if the same issue is present in native Win32 applications, either notepad, or create a custom MFC app with tooltips.

@LeafShi1
Copy link
Member

LeafShi1 commented Oct 24, 2024

@Olina-Zhang, @LeafShi1 - could you please investigate if the same issue is present in native Win32 applications, either notepad, or create a custom MFC app with tooltips.

This should be a Windows issue, the same issue exists in notepad, File Explorer, MFC Application
Image

@elachlan elachlan added the external-OS-issue Issue caused by an external OS component such as Common Controls. label Oct 25, 2024
@merriemcgaw
Copy link
Member

@Olina-Zhang can you file an issue in the OS AzDO? We'll track it but I doubt there's much we're able to do.

@Olina-Zhang
Copy link
Member Author

Olina-Zhang commented Oct 28, 2024

@Olina-Zhang can you file an issue in the OS AzDO? We'll track it but I doubt there's much we're able to do.

Filed OS AzDO issue: 54688683. please help see if area path is correct.

@merriemcgaw merriemcgaw removed the untriaged The team needs to look at this issue in the next triage label Oct 31, 2024
@Olina-Zhang
Copy link
Member Author

@Tanya-Solyanik @merriemcgaw that OS AzDo bug: 54688683 was resolved "By design". Windows team told Tooltip behavior was intentionally changed years ago for accessibility reasons. If this appears to not be in compliance with WCAG 2.1 Tooltips behavior, let them know.
If that's the case, for the Winforms tooltip control, it conflicts with the setting of tooltip's AutoPopDelay property obviously on Win11.

@Tanya-Solyanik Tanya-Solyanik added the 📚 documentation Documentation bug or improvement label Nov 1, 2024
@Tanya-Solyanik
Copy link
Member

Hi @Olina-Zhang I misunderstood your bug report, yes this is "by design". The default AutoPopDelay had been overwritten on Win11 - the tooltip is dismissed by user action only. If the user changes AutoPopDelay to a non-default value, then that new delay will be applied to the tooltip - try setting it to 1000 for example

I'll reuse this issue as a reminder to update the docs

@Tanya-Solyanik Tanya-Solyanik added this to the .NET 10.0 milestone Nov 1, 2024
@Olina-Zhang
Copy link
Member Author

If the user changes AutoPopDelay to a non-default value, then that new delay will be applied to the tooltip - try setting it to 1000 for example

It does, and we need to reset the AutoPopDelay to a non-default value on Win11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Documentation bug or improvement external-OS-issue Issue caused by an external OS component such as Common Controls.
Projects
None yet
Development

No branches or pull requests

5 participants