Applying theme to form with TrueDBGrid on it destroys column alignments

Posted by: paulhaffner on 2 November 2022, 10:34 am EST

    • Post Options:
    • Link

    Posted 2 November 2022, 10:34 am EST

    I have recently upgraded several dozen large projects from 2020 v1 to 2022 v1. Which has introduced a catastrophic error. The issue is that as dozens of truedbgrids have layouts applied at startup, they are then themed using this method.

    C1ThemeController.ApplyThemeToControlTree(control, theme)

    When there is a truedbgrid somewhere in the control tree all of its columns become left aligned, which is devastating for my apps, some of which load several dozen really large grid with layouts having a mix of string, boolean, date and numeric columns.

    This setup has worked perfectly for years, ever since theming was introduced, but somewhere in the upgrade from 2020v1 to 2022v1 this issue has appeared, and it is a disaster.

    Please advise soonest.

  • Posted 3 November 2022, 4:39 am EST

    Hi Paul,

    Thank you for providing the version details. We could see the change in behavior you mentioned on our end (starting from the 2022v1(557) release). We have escalated the issue to the development team for further investigation and will get back to you with the updates as soon as possible.

    [Internal Tracking ID: C1WIN-28504]

    Best Regards,

    Kartik

  • Posted 4 December 2022, 8:17 am EST

    Hi,

    It has been over a month now. Is there any update on when this very serious problem is going to be resolved?

  • Posted 5 December 2022, 12:04 am EST

    Hi Paul,

    As per the development team, the ETA for the fix is the 2022v3 hotfix release. We will let you know as soon as the release is out.

    Kind Regards,

    Kartik

  • Posted 6 January 2023, 8:42 am EST

    Hi Paul,

    We are happy to let you know that this issue has been fixed in the latest 2022v3 (588) Hotfix release. The latest packages are now available for installation from NuGet. In a few days, the latest release will also be available for download from the ComponentOneControlPanel. You can check the PRODUCTS > BUILD REPOSITORY tab in the ComponentOneControlPanel for the Hotfix updates.

    Kind Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels