Bug Report T706004
Visible to All Users

Toolbars embedded in the TdxBarDockControl component are rearranged at runtime

created 6 years ago

After updating to v18.2.3 many toolbars in our project get rearranged in a very strange and unwanted way as soon as there are two or more toolbars on the dock control…(e.g. second toolbar from second row moved to the top left of the bar dock and first bar from original first row moved right to the second toolbar).(see attachments)

This happens just by updating from 18.2.2 to 18.2.3 and just recompiling the project. without opening the affected forms in the IDE.

So far I couldn't figure out how to correct the toolbar positions and alignment in the IDE without getting it messed up again after compiling the project and reopening the form in the IDE.

For now I got it fixed by trying all tricks I could imagine correcting the positions and alignment at runtime. But I'm currently not in the mood yet to apply those runtime fixes to all projects and forms that use DevExpress toolbars.

Show previous comments (8)

    Do you have an estimate if and when this error will be fixed?
    I hope I don't have to go back to a previous version as this would reintroduces some other problems fixed with the newest release.

    DevExpress Support Team 6 years ago

      To my regret we have not found a solution yet and I do not have a certain time frame for now. If you are going to release a new version of your product, I think that it may be better to temporarily roll back to the previous version where this toolbar docking worked better for you.

        Some observations:

        This problem seems to be related to placing the toolbars on a TdxBarDockControl. As long as the toolbars appear on the dock control in exactly the same order they have been created, there is no problem. As soon as I want to reorder the toolbars in the designer, the toolbar placement gets messed up during runtime and also while saving the project.

        Only workaround so far:
        If I reorder the  TdxBar objects in the form's source code (Alt+F12) to the same order I want them to appear on the dock control, the toolbars no longer get messed up.

        It also looks like disabling the customization for the toolbars doesn't have any influence (as previously assumed).

        Hope this helps to find a solution for the next release.

        Answers approved by DevExpress Support

        created 6 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.