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

X11: devicePixelRatio is no longer computed based on per-screen DPI (regression)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.14
    • QPA: X11/XCB
    • None

    Description

      In Qt < 5.14, the platform plugin would provide the devicePixelRatio value via the QPlatformScreen::pixelDensity() implementation.

      In Qt 5.14, the devicePixelRatio value is computed in QtGui based on QPlatformScreen::logicalDpi().

      This caused a regression since QXcbScreen::logicalDpi() reports a single logical DPI value for all screens based on virtual desktop geometry, while pixelDensity() computed its value based on individual screen geometry.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes