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

Logical content size of window should be kept on screen changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3
    • GUI: Window management
    • None

    Description

      Currently, we keep the same device pixel size on a window on moved to a screen with different scale factor.
      The DP size of a window with a logical size 400x400 on a screen with scale factor 2 is 800x800.
      We do not change any size on the window screen changed, thus on a move to screen with factor 1.0 the logical size will be 800x800. Visually it means that the window will look twice bigger and there will be four times more content.

      It is arguable whether the suggested behaviour is actually wanted.

      Attachments

        1. bug.gif
          bug.gif
          2.87 MB
        2. fixed.gif
          fixed.gif
          3.28 MB
        3. manual-sizetest+cpp.zip
          2 kB
        4. normal retina.MOV
          6.40 MB
        5. QT_SCREEN_SCALE_FACTORS.mov
          6.00 MB
        For Gerrit Dashboard: QTBUG-75932
        # Subject Branch Project Status CR V

        Activity

          People

            sorvig Morten Sørvig
            kaffeine Alexandr Akulich
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes