Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117521

Frameless window shows wrong size and view region if adjust the system display resolution scale from initial 100% to other scale.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.2, 6.5, 6.6.0 RC
    • None
    • Windows

    Description

      step1: Set system display scale to 100%.

      step2: Add "setWindowFlag(Qt::FramelessWindowHint);" settings to top-level window with  QLayout (e.g Qt\Examples\Qt-x.x.x\widgets\layouts\basiclayouts)

      step3: Run this application.

      step4: Change system display scale option to another one.

      Then the  application's UI graphics will show wrong size and view region.

      (PS: It's fine if  system display scale was set other scale except 100% before run the QLayout application)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            liziqi liziqi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change