Bug Report T942865
Visible to All Users

Ribbon Form - Office 2019 style - A form does not repaint its caption and the tab area before displaying a modal dialog that is invoked on the Backstage View's closure

created 4 years ago (modified 4 years ago)

Hello,
When we hide a Backstage control from one Backstage TAB button and in it action we show a modal dialog, then when back to the main Windows, the ribbon controls is not completely painted, it seems that does not finished the rendering, as the attached capture, Could you please advise some guideline to do that in good manner?

Tanks,
-Deidy

Answers approved by DevExpress Support

created 4 years ago

We have addressed the issue described in this ticket and will include a fix in our next maintenance update. To apply this solution before official release, request a hotfix by clicking the appropriate version link.

Note: Hotfixes may be unavailable for betas/updates set for release within a week.

    Show previous comments (1)
    D D
    Deidy J. Eberhardt 3 years ago

      Hello DevExpress support team.

      I have checked it and it is partially fixed on DevExpress VCL v.21.1.6. I meant that the Ribbon-Quick access tool is still missing when hide the backstage and show a modal dialog.

      Could you please confirm verify it?

      Thanks.

      DevExpress Support Team 3 years ago

        Hello,

        We were not able to address this behavior. Please use the PostMessage solution that I suggested above.

        D D
        Deidy J. Eberhardt 3 years ago

          Hi Paulo,
          As it says this was fixed, I removed the PostMessage system that I had implemented, also because this strategy can carry other issues depending on the context.

          Anyway, I think we can live with this issue of missing the Quick access toolbar in this case until you could fix it. However I wonder, why this works fine when the element is a Button, I mean: Buttons->TdxRibbonBackstageViewMenuButton. This associates a button that when click on this, it automatically closes the backstage and completes the operation in a good manner in all contexts

          Regards,
          -Deidy

          created 4 years ago

          Hello Deidy,

          You are right, a modal dialog may interrupt the animation process since it receives focus. Please check if a postponed procedure can help you avoid this behavior (see the example attached).

            Show previous comments (4)
            DB DB
            Daniele Buttarelli 4 years ago

              I want to apply hotfix on 20.1.6 version, without upgrading.
              Is it possible?

              DevExpress Support Team 4 years ago

                You can use the following link to get that patch:
                http://downloads.devexpress.com/Share/VCL/20_1_7/PF_T942865.zip

                To be honest, such partial patches is not a good practice. It is more reliable to download a corresponding update.

                DB DB
                Daniele Buttarelli 4 years ago

                  The patch does not work as expected. I will try to upgrade as soon as possible.
                  Thanks.

                  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.