Bug Report T1240396
Visible to All Users

TdxDockPanel's content is not scaled if the application is executed on a secondary monitor whose DPI is more than 96

created 9 months ago (modified 9 months ago)

Steps to reproduce:

  1. Set the main monitor's scale factor to 100% and the secondary monitor's to 150%.
  2. Run the attached project on the secondary monitor.

Expected results:

The content is scaled according to the monitor's scale factor:

Current results:

The content is not scaled:

Show previous comments (5)

    Hello Alex,
    thank you for the workaround.

    In my application I need to create the docking manager at runtime.
    Your workaround works fine if I create the manager with a nil owner.
    It does not work if the owner is the form!

    Delphi
    procedure TfrmMain.dxFormCreate(Sender: TObject); begin // does not work FDockingManager:= TdxDockingManager.Create(self); // works fine // FDockingManager:= TdxDockingManager.Create(nil); end;

    I modified your example to show this behavior. Maybe it helps to localize the bug.

    AP AP
    Alex Pa (DevExpress Support) 6 months ago

      Hello Tom,

      Thank you for the additional details. We will take them into account. Could you please specify the exact version of RAD Studio 12 you are using (e.g., v12.2)?

        Hello Alex

        I work with Delphi 12.1 Patch 1 (29.0.51961.7529)

        Answers approved by DevExpress Support

        created 6 months ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

        Important Notes:

        • Hotfixes may be unavailable for Early Access/Beta builds or updates set for release within a week.
        • .NET only: in the NuGet Package Manager, use your personal NuGet feed and check the "Include prerelease" option to view the hotfix package in the "Updates" tab.

          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.