Problem with ribbon in a themed window

Posted by: mike on 7 October 2019, 7:01 pm EST

    • Post Options:
    • Link

    Posted 7 October 2019, 7:01 pm EST

    Given:

    • a window is themed with C1ThemeController and has a C1Ribbon on it
    • the ribbon is minimized (meaning only the tab tops are showing)
    • one of the tabs has a RibbonToggleButton

    Problem:

    when the tab is dropped down, if you assign a SmallImage to the RibbonToggleButton on any of the tabs, the tab folds up and is not shown anymore.

    This only happens with a themed ribbon.

  • Posted 9 October 2019, 3:26 am EST

    Hi,

    I could not observe the issue you’ve described with the attached sample. Can you please modify the sample if it’s missing anything else?

    Also, it would be helpful if you can make a small video demonstrating the steps you take when the issue is observed.

    ThemedRibbon_ToggleButton.zip

    Thanks,

    Jitender

  • Posted 9 October 2019, 9:52 pm EST

    Ok I missed a condition: the button has to be in QAT for this to happen.

    ThemedRibbon_ToggleButton.zip

    Take the attached. Right click on the button and add it to QAT. Hit the “Min/Max” button to minimize the ribbon. Then try to open a tab.

    Note: this does not happen if it is button. Only if it is a togglebutton.

  • Posted 10 October 2019, 2:32 am EST

    Hi,

    Thanks, I can see it now. Also, I was able to observe the issue with a button as well.

    We’ve asked the developers to look into this issue [Internal Tracking ID: 401449].

    We’ll let you know when we get an update from them.

    Regards,

    Jitender

  • Posted 10 October 2019, 4:15 am EST

    Hi,

    This is by-design. In your Tick event you’re changing the SmallImage. When the SmallImage is changed C1Ribbon needs to calculate the required size for the tabs. For this purpose, the ribbon is collapsed.

    Regards,

    Jitender

  • Posted 10 October 2019, 8:47 am EST

    1. It doesn’t happen for button - IF the smallimage that is assigned is the same exact size as the smallimage being replaced. It does happen for togglebutton even if the smallimage is same size.

    (see attached file)

    1. It doesn’t happen for non-themed ribbons. Do those not need to calculate the required size for the tabs?

    ThemedRibbon_ToggleButton.zip

  • Posted 11 October 2019, 1:54 am EST

    Hi,

    Thanks for the detailed explanation for the scenarios. We’re discussing these with the developers. I’ll update this thread once we get more information.

    Regards,

    Jitender

  • Posted 8 December 2019, 3:57 pm EST

    Any update on this? We updated to 4.0.20193.393 - it is still happening.

  • Posted 9 December 2019, 12:18 am EST

    Hi,

    The issue is not fixed in v3 release. The fix will be available in the next hotfix.

    Regards,

    Jitender

  • Posted 17 March 2020, 8:47 am EST

    Hi Mike,

    The issue has been fixed in 2020V1 release and now when repeatedly setting Image to a button, ribbon tabs are not collapsed immediately in a minimized ribbon.

    Please upgrade your controls to the latest version to use this feature.

    Regards,

    Prabhat

Need extra support?

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

Learn More

Forum Channels