Skip to content

Tooltips on ComboBoxItems in WPF for .NET 6 appear and immediately disappear #5870

Closed

Description

@amirburbea
  • .NET Core Version: (e.g. 3.0 Preview1, or daily build number, use dotnet --info) 6.0.101
  • Windows version: (winver) 22000.376
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: No
  • Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? If yes, please file the issue via the instructions here.
    NO
  • Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.

Problem description: In .NET 6, WPF tooltips on ComboBoxItems seem to close instantly, In .NET 4.8/5 this is not the case.

Actual behavior: Popup appears but immediately vanishes

Expected behavior: Popup on ComboBoxItem stays visible

Minimal repro: https://github.com/amirburbea/PopupRepro

Activity

  1. huiliu-code commented on Dec 23, 2021

    @huiliu-code

    I tested your code in Microsoft Visual Studio Professional 2022 (64-bit) Version 17.0.4.Tooltips on ComboBoxItems did not disappear immediately. My environment is Windows 10 (20H2). Did I misunderstand something?

    4

  2. lindexi commented on Dec 24, 2021

    @lindexi
    Member
  3. amirburbea commented on Dec 24, 2021

    @amirburbea
    Author

    @huiliu-code Your screencast is only demonstrating you hovering over the listbox items which as I mentioned work fine. The repro product has a listbox (on the left) right next to a combobox on the right. if you opened the combobox (dropdown) you'd see that the toolitps on those items disappear on win11. I don't have windows 10 anymore to test.

  4. amirburbea commented on Dec 24, 2021

    @amirburbea
    Author

    @lindexi - Those bugs seem unrelated to this one - is this comment to just group this bug with the others?

  5. lindexi commented on Dec 24, 2021

    @lindexi
    Member
  6. amirburbea commented on Dec 24, 2021

    @amirburbea
    Author

    Here's the app running in .NET5
    net5

    Here's the same app running in .NET6
    net6

  7. huiliu-code commented on Dec 24, 2021

    @huiliu-code

    Hi,@amirburbea. I reproduced your problem. It may be a problem with .Net 6. It is recommended that you could report the problem in the Developer Community.

  8. added
    regression
    and removed on Dec 27, 2021
  9. Yoooi0 commented on Dec 29, 2021

    @Yoooi0

    This seems like a duplicate of #5716.
    The actual issue is not only with ComboBoxItem but with tooltips on any control inside a Popup control, caused by a Mouse.Capture(this, CaptureMode.SubTree); call.

    @amirburbea If possible, you could also add my user control that reproduces the issue to your PopupRepro.

  10. SamBent commented on Jan 3, 2022

    @SamBent
    Contributor

    This is a duplicate of #5716. Let's track it there.

  11. amirburbea commented on Jan 3, 2022

    @amirburbea
    Author

    But @SamBent that ticket is for somereason labeled as needs more information. I feel that label means they won't work on it

  12. SamBent commented on Jan 3, 2022

    @SamBent
    Contributor

    @amirburbea I assure you they will work on it. In this case "they" is me, and I'm working on it right now.

  13. ghost locked as resolved and limited conversation to collaborators on Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

regression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions