Skip to content

Unable to switch the tabs using mouse. Only switching the tab can be done through TabKey navigation at DesignTime #11642

Closed

Description

@Sekar47

Environment

Edition - Windows 11 Enterprise
Version - 23H2
OS build - 22631.3737
Visual Studio version - 17.9.2

.NET version

.Netcore 6,7,8

Did this work in a previous version of Visual Studio and/or previous .NET release?

No, it doesn't work on previous NetCore versions.

Issue description

I'm trying to switch the tabs by using the mouse click at DesignTime but can't be able to switch. But can be able to be switching by using the TabKey.
For your reference, I have attached a simple sample that replicates the issue.
CustomTabControl_Sample.zip

Steps to reproduce

1.Switch the tabs by using the TabKey.
2.Switch the tabs by using the mouse.

Expected Behavior: While switch using the mouse, the selected tab needs to be switched.
Observed Behavior: No tab switches happened.

Diagnostics

No response

Activity

  1. added
    untriagedThe team needs to look at this issue in the next triage
    on Jul 9, 2024
  2. elachlan commented on Jul 9, 2024

    @elachlan
    Contributor

    @Olina-Zhang can your team please confirm?

  3. Zheng-Li01 commented on Jul 10, 2024

    @Zheng-Li01
    Member

    @elachlan there have a known issue in the designer repo to track https://github.com/microsoft/winforms-designer/issues/3201.

  4. Sekar47 commented on Jul 10, 2024

    @Sekar47
    Author

    Hi @elachlan ,
    I'm facing 404 issue while trying to open the GitHub link you provided.

  5. elachlan commented on Jul 10, 2024

    @elachlan
    Contributor

    Hi @Sekar47, the link provided is for the designer repo and it's currently private.

  6. merriemcgaw commented on Jul 10, 2024

    @merriemcgaw
    Contributor

    @Sekar47 we're investigating in our internal designer repo. We'll update this when we have an investigation.

  7. Sekar47 commented on Jul 29, 2024

    @Sekar47
    Author

    Hi @merriemcgaw , Is there any update for this issue?

  8. merriemcgaw commented on Jul 31, 2024

    @merriemcgaw
    Contributor

    @Sekar47 not yet, I'm sorry.

  9. Sekar47 commented on Sep 2, 2024

    @Sekar47
    Author

    Hi @merriemcgaw , Is there any update for this issue?

  10. merriemcgaw commented on Sep 2, 2024

    @merriemcgaw
    Contributor

    @Sekar47 this is on our backlog, but I don't have an estimate for when we'll have a fix.

    That said, we have confirmed that you can access the desired tab directly if you select it via the PropertyBrowser or DocumentOutline windows in Visual Studio. Given that there are multiple ways to get to any TabPage that you need, it may take us just a little longer to address this specific issue.

  11. Tanya-Solyanik commented on Oct 24, 2024

    @Tanya-Solyanik
    Contributor

    @Sekar47 - mouse click is processed by the VisualStudio process and is forwarded to the DesignTOolsProcess as an input message to be processed by the corresponding ControlBodyGlyphs.
    https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls-design/designer-differences-framework?view=netdesktop-8.0
    Also see samples here - microsoft/winforms-designer-extensibility

  12. locked and limited conversation to collaborators on Oct 25, 2024
  13. converted this issue into a discussion #12390 on Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-VSDesignerWindows Forms out-of-proc designer related issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions