C1BackstageView tabs can be selected even when .enabled = False

Posted by: agulik on 1 December 2023, 4:08 am EST

    • Post Options:
    • Link

    Posted 1 December 2023, 4:08 am EST - Updated 1 December 2023, 4:14 am EST

    In our Winforms application with C1Ribbon and C1BackstageView, we dynamically change the enable state of some items on the backstage view:

    However we have discovered that even when disabled, tabs can still be selected. Pressing the down arrow (while the Settings tab on the backstage view has focus), moves the selection down to the About tab, and fires BViewTabAbout.Select. This should not be possible with .enabled = False

    See screenshot of the BViewTabAbout.Select being fired while .Enabled is False

    And the result is that the tab opens as if it is enabled:

  • Posted 1 December 2023, 4:14 am EST - Updated 1 December 2023, 4:15 am EST

    To clarify, perhaps allowing the tab to be selected is okay… the issue is that the contents of the tab get loaded into the righthand side of the backstage when the tab is selected (even when the tab is disabled).

  • Posted 3 December 2023, 10:35 pm EST

    Hi Andrew,

    Thank you for sharing all the details. We could observe the issue you mentioned with the 2023v2(620) release. However, this issue seems to be fixed in the latest 2023v3(631) release.

    The 2023v3(631) release is currently available for installation from NuGet only (https://www.nuget.org/packages/C1.Win.Ribbon/8.0.20233.631). It will be available for installation from ComponentOneControlPanel in some days.

    Best Regards,

    Kartik

  • Posted 10 January 2024, 4:51 am EST

    Thank you, I have confirmed this fix in our project using 2023v3.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels