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

A way to disable reading of High-DPI environment variables

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • GUI: High-DPI
    • None

    Description

      It seems there are applications that set variables like QT_SCREEN_SCALE_FACTORS on Windows and users don't even know about that. I've got multiple reports about problems with scaling and every time the logs were saying that there are Qt High-DPI environment variables set but when asking the user, he doesn't know what that is and says he didn't do anything like that. That is also kind of problem on Linux given that DEs and users set those variables without knowing how they affect different kinds of Qt applications (e.g. those not supporting fractional devicePixelRatios).

      This might be a good tool on embedded platforms but this worsens the UX on desktop, would be nice to have API to make Qt not read those variables.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            ilya-fedin Ilya Fedin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes