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

Implement High DPI scaling v2 (5.6)

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 5.6.0
    • None
    • GUI: Window management
    • None

    Description

      Documentation

      development@qt-project.org announcement: http://lists.qt-project.org/pipermail/development/2015-June/021631.html

      Pending Changes

      Patch series top change: : https://codereview.qt-project.org/#/c/114937/

      1. Revert "Add devicePixelRatio support to the Windows QPA plugin." (qtbase/dev) https://codereview.qt-project.org/#/c/115426/
      2. Remove QT_DEVICE_PIXEL_RATIO support for xcb (qtbase/dev) https://codereview.qt-project.org/#/c/114777/
      1. Cross platform highdpi scaling (qtbase/dev) https://codereview.qt-project.org/#/c/114928/
      2. Enable non-integer device pixel ratio (qtbase/dev) https://codereview.qt-project.org/#/c/114927/
      3. Turn off font hinting when highdpi scaling (qtbase/dev) https://codereview.qt-project.org/#/c/114929/
      1. High-DPI drag-n-drop for X11 (qtbase/dev) https://codereview.qt-project.org/#/c/114934/
      2. X11 changes for highdpi (qtbase/dev) https://codereview.qt-project.org/#/c/114933/
      3. Highdpi changes for Windows (qtbase/dev) https://codereview.qt-project.org/#/c/114932/
      4. Mac adaptations to the highdpi API (qtbase/dev) https://codereview.qt-project.org/#/c/114935/
      5. Android: Add opt-in high-dpi support (qtbase/dev) https://codereview.qt-project.org/#/c/114930/
      6. Wayland: Compile after QPA API changes (qtwayland/dev) https://codereview.qt-project.org/121166
      1. Extend high-DPI manual test (qtbase/dev) https://codereview.qt-project.org/#/c/114937/
      2. High-DPI tweaks for autotests (qtbase/dev) https://codereview.qt-project.org/#/c/114936/

      Submitted Changes

      (reverse order)

      1. "Update doc." (qtbase/highdpi) https://codereview.qt-project.org/#/c/113754/
      2. "Windows: Fix compilation after f5bdd92e5d0217bf3eec13395e4baa95bd8fda37." deeaf98650e316a613afe655e40b11a93b378c12 (qtbase/highdpi, 12.6.2015) https://codereview.qt-project.org/#/c/113924/
      3. "Add QPlatformWindow::windowClosestAcceptableGeometry()." ac2a44c716d84979747e166f43129e59612e1a97 (qtbase/highdpi, 10.6.2015) https://codereview.qt-project.org/#/c/114091/
      4. "Make testInputEvents not use QWindowSystemInterface" 34e06b48678b60716d614281898fd4e18fb4d586 (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113548/
      5. "Simplify tst_qwindow::positioning()" 5964294506514f06cc6b5355b5c575a956d60a38 (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113547/
      6. "Merge remote-tracking branch 'qt/dev' into dev-highdpi" 0963be63ce741ef6c7585358c3f3b1cb806b66e8 (qtbase/highdpi, 9.6.2015)
      7. "Windows: Scale the DnD pixmaps." (squash candidate) 9e6a1351823b3ee3d7e380248f6ef42ff383b014 (qtbase/highdpi, 3.6.2015) https://codereview.qt-project.org/#/c/113664/
      8. "Screen geometry and window position test" 75f119d322ec2ee4b9e3432b0b0b750fafff422a (qtbase/highdpi, 4.6.2015) https://codereview.qt-project.org/#/c/113727/
      9. "Don't make all sizes (0,0)" 1ecbe930d987724d041b666fda2b3984f62eaadb (qtbase/highdpi, 4.6.2015) https://codereview.qt-project.org/#/c/113759/
      10. "Make QCursor::pos() actually follow the cursor pos" 5098eae737c5321112ab6c6345acfa36ca483135 (qtbase/highdpi, 4.6.2015) https://codereview.qt-project.org/#/c/113719/
      11. "Move min/max size constrain logic to QPlatformWindow." f5bdd92e5d0217bf3eec13395e4baa95bd8fda37 (qtbase/highdpi, 3.6.2015) https://codereview.qt-project.org/#/c/113610/
      12. "Print "deprecated" warning on QT_DEVICE_PIXEL_RATIO usage" 77162b16ebda05e335291b9917b358d1c129096c (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113556/
      13. "Fix drag and drop for Xcb" 39413100cdc8cd7d3ef55ff3c79d94b7cf89cc5e (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113536/
      14. "Test QCursor::pos and QWidget::move" d0a017e9b03dd3cf19b640fad4dd56ef0494ce5f (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113495/
      15. " Adapt Windows plugin to new HighDPI API." dbe2dd295cce19680f8ba7a7cca65150701051e2 (qtbase/highdpi, 5.5.2015) https://codereview.qt-project.org/#/c/112858/
      16. "Remove devicePixelRatio handling from xcb" 7e4fba3e56404c0bc9692269671eb49b08c313a6 (qtbase/highdpi, 1.6.2015) https://codereview.qt-project.org/#/c/113453/
      17. " Test menu bar menus and submenus" f3254c24e8463b74d33ec98c19bcde8a036ae325 (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113438/
      18. "Test drag and drop" 837792fb71a60e19c2b720ff7a25c1259354def8 (qtbase/highdpi, 2.6.2015) https://codereview.qt-project.org/#/c/113494/
      19. "Support QT_DEVICE_PIXEL_RATIO" 1499302bb12cdf81c413a7a9f9ded3036b1a3cfa (qtbase/highdpi, 1.6.2015) https://codereview.qt-project.org/#/c/113454/
      20. "usePixelDensity and perScreenActive are different concepts" 88c8a4f961076bed826fc011de19dd711c6160c4 (qtbase/highdpi, 1.6.2015) https://codereview.qt-project.org/#/c/113424/
      21. "Add interactive mode, and make it the default" b970d03863e88b4aa3c26149bce3511174faadbd (qtbase/highdpi, 1.6.2015) https://codereview.qt-project.org/#/c/113423/
      22. "Turn off slider tracking" 4797cc4237652bc66281318089bae3da8c219f16 (qtbase/highdpi, 29.5.201) https://codereview.qt-project.org/#/c/113337/
      23. "Connect QPlatformScreen in the QScreen constructor" a9cb962a5e7d8da48f11503406f2afbde499db21 (qtbase/highdpi, 29.5.2015) https://codereview.qt-project.org/#/c/113311/
      24. "Refactor QHighDpiScaling internals and usage" f9b1596fe1aeacf4f3d977c32e74b7ad585d3d3e (qtbase/highdpi, 26.5.2015) https://codereview.qt-project.org/#/c/113149/
      25. "Revert "Add devicePixelRatio support to the Windows QPA plugin." c2d5ecf8766d3da70b17348e92cda31b00e204a7 (qtbase/highdpi, 30.4.2015) https://codereview.qt-project.org/#/c/112857/
      26. "Merge branch 'wip/highdpi' of git://code.qt.io/qt/qtbase into dev-highdpi" 8524853227c753b5cfa14184a086ec0acff3930a (qtbase/highdpi, 13.5.2015)
      27. "Fix point conversion in qt_handleTouchEvent()." d5a6c1613b52ebc015aa85a46c1387909d435926 (qtbase/highdpi, 12.5.2015)
      28. " Compile." 7599ad4e774799bbd851972129bce559c5d8451e (qtbase/highdpi, 11.5.2015)
      29. "Make tests pass with QT_SCALE_FACTOR set" 552791b0ad9fbfabfffbc374d78feb20fd81444a (qtbase/highdpi, 11.5.2015)
      30. "Fix qwidget PdmDevicePixelRatioScaled impl" 8f2d70dff0c215373047f6cee029e4b8461a38c4 (qtbase/highdpi, 11.5.2015)
      31. "Add some missing scalings" 0a9b5d15eee2cac3b3396f86b157ab8dfb639849 (qtbase/highdpi, 11.5.2015)
      32. "Crash fix for autotests" 404f13dc481d0ab99aa24fa462f3bf996f7570c4 (qtbase/highdpi, 5.5.2015)
      33. "Extract style values in device independent pixels" (Android) 3110a6642cb9424069ad89666e3cca01d1d6b420 (c16.4.2015)
      34. " Refactor: add QtAndroid::pixelDensity" d6c816de1a887699e2e862f77cf16709cfb52ccb (qtbase/highdpi, 16.4.2015)
      35. "Scale default font size by the pixel density." a0888a241db860fc9c4d0c8a2155cc6fe597c697 (qtbase/highdpi, 15.4.2015)
      36. "Compile on Android" 20e49de81e3889babfe734ec76dd1f295c1f03b4 (qtbase/highdpi, 15.4.2015)
      37. "DevicePixels -> NativePixels" d450fcf0625700021b9646080f6ce0e7059f243d (qtbase/highdpi, 15.4.2015)
      38. :"Use qreal for devicePixelRatio everywhere" 7ec765b1d10d26de2e13cb22364e45427b654d86 (qtbase/highdpi, 14.4.2015)
      39. "Per-screen scaleFactor" 56b72d7809a6016149668b7df0dfd35022ff01c6 (qtbase/highdpi, 14.4.2015)
      40. "Move qHighDpi functions into the QHighDpi namespace " 91fb8061875db830d26f95acef048e36fb44cd6a (qtbase/highdpi, 14.4.2015)
      41. "Per window scale factor setting" 7c77febbde4a7e2ebe73579f06baf018cbd192c3 (qtbase/highdpi, 14.4.2015)
      42. "de-scale window()->devicePixelRatio." c0fdcaa92eef9b2f8a584f2610d07fb076b28f95 (qtbase/highdpi, 14.4.2015)
      43. "QPlatformScreen: high-dpi resizeMaximizedWindows" c5b743472fc36986cf34636dbcb73a0d0fa6b9e6 (qtbase/highdpi, 26.3.2015)
      44. "Add QScreen geometry convenience accessors" 524a136e749489ebd2a4adb28d0388cfd9956af0 (qtbase/highdpi, 26.3.2015)
      45. "Add high DPI support to Android" 79c1f7f198f7d94f59619b6d58895b19934069b0 (qtbase/highdpi, 26.12.2014) https://codereview.qt-project.org/#/c/102654/
      46. "WIP: Cocoa: Use window* accessors" ec30aae64100bca1f1bfe54cc4c72eb0157c4dcf (qtbase/highdpi, 1.12.2014), https://codereview.qt-project.org/#/c/101809/
      47. " XCB: Support high-dpi scaling" caec3aa55a7224e392f6a47338a67f9a62fc53a2 (21.5.2014) https://codereview.qt-project.org/#/c/86108/
      48. "WIP: Add QPlatformWindow::window* accessors." a4e11a805f85bc2175372dc62ac6b577452a205b (qtbase/highdpi, 1.12.2014) , https://codereview.qt-project.org/#/c/101808/
      49. "WIP: Use qHighDpitoDevicePixels" 358ef85fab2f8dd5fb9a1fe19f4865fa03903361 (qtbase/highdpi, 1.12.2014) https://codereview.qt-project.org/#/c/101807/
      50. "WIP: Create new backing store image on paintDevice()" ccb921431683e726d1baf2d46280790c7dbd1b1b (qtbase/highdpi, 1.12.2014) https://codereview.qt-project.org/#/c/101806/
      51. " WIP: Add logging via category "qt.scaling" dee0daa89a5800745790d43cdcaa3c6377e3ac3d (qtbase/highdpi, 1.12.2014) https://codereview.qt-project.org/#/c/101805/
      52. "WIP: highdpi test: Don't build an app bundle" 35075e7db476da4fb77673d9cb5e1c8dd5da8c74 (qtbase/highdpi, 1.12.2014) https://codereview.qt-project.org/#/c/101804/
      53. "WIP: Don't scale the logical dpi" 29710e90735326d37e333a8f9a60dfbd41967ddc (qtbase/highdpi, 1.12.2014), https://codereview.qt-project.org/#/c/101802/
      54. " WIP: Read QT_SCALE_FACTOR env. variable" 31a3822eac1687d53b0ee30e94a60ed82e53e87b (qtbase/highdpi, 1.12.2014), https://codereview.qt-project.org/#/c/101801/
      55. "WIP: tests/manual/highdpi: Add line drawing test" bf27bca43cc9971f99ee24988593c7d7afd50e71 (qtbase/highdpi, 28.11.2014), https://codereview.qt-project.org/#/c/101800/
      56. "WIP: Introduce per-window scale factors" a955beb42388498a9ed5c426b9ae891ab56fa2f8 (qtbase/highdpi, 20.11.2014) https://codereview.qt-project.org/#/c/101799/
      57. "WIP: Add platform independent high-dpi support to QtGui" 70f565b6e43b6ab93b01112286a40869155207c8 (qtbase/highdpi, 21.5.2014) https://codereview.qt-project.org/#/c/101798/
      58. "WIP: Add PdmDevicePixelRatioScaled." 3cede847c39269374c52dcf156dc982d7a51f29c (qtbase/highdpi, 28.5.2014) https://codereview.qt-project.org/#/c/86574/

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-46615
          # Subject Branch Project Status CR V

          Activity

            People

              sorvig Morten Sørvig
              kleint Friedemann Kleint
              Votes:
              13 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes