Bug Report T946976
Visible to All Users

TdxForm and TdxCustomForm descendants - An embedded form whose WindowState property is set to wsMaximized becomes invisible when the parent window's DPI changes in the application that is built with RAD Studio 10.3 or newer

created 4 years ago

Dear DevExpress Support team,

I have an issue with the LayoutControl/dxForm. The LayoutControl/dxForm disappears when i move the form to another Monitor.
I´m using two Monitors one with highDpi (125%) an the other with normal Dpi (100%).
The LayoutControl is on a dxform who is mapped to a panel.

I made a sample Project to show this behavior.
The steps to reproduce the error are as followed:

  1. Switch the application from one Monitor to the other
  2. Now LayoutControl has disappeared, alongside with the Form (dxForm).

Best Regards
Tobias

Show previous comments (5)

    Hello Paulo,
    I have tested the new version 20.1.7 to see if the error still occurs. The behaviour of the current displayed form when moving it to another monitor has improved, but there is still an issue.
    The example project I created has several tabs that all have the same structure. There a form is created and mapped to a panel. If I change the tab, switch the screen and go back to the original tab, the form who was mapped to the panel disappears.

    1. change tab
    2. change monitor
    3. change back to the original tab, the form has disappeared.
    DevExpress Support Team 4 years ago

      To my regret, we cannot overcome this IDE issue at the level of our controls. In general, the IsWindowVisible method returns False when a form has the WM_SETREDRAW 0 flag. As a result, the form disappears. The only workaround we see is to avoid wsMaximized for that form.

        Hello Paulo,

        thanks for the tip, this works for me.

        Best Regards
        Tobias

        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.

          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.