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

Qt5 ignores Xft on XFCE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.11.0 Alpha
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Arch Linux, XFCE

      Description

      XFCE uses Xft to configure font hinting, subpixel rendering and DPI, just like GNOME does. However Qt5 applications seem to ignore these settings, which means they don't fit in with the other applications (GTK or Qt4).

      The problem is apparently that XDG_CURRENT_DESKTOP=XFCE. When I manually override it with XDG_CURRENT_DESKTOP=GNOME, Qt5 applications do follow Xft settings.

      I've attached a screenshot of the same Qt5 application running with XDG_CURRENT_DESKTOP=XFCE and XDG_CURRENT_DESKTOP=GNOME. My XFCE desktop is configured to enable subpixel rendering and GTK/Qt4 applications are honoring this. Qt5 only honors the settings when I override XDG_CURRENT_DESKTOP to GNOME.

        Attachments

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

          Activity

            People

            • Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              maarten baert Maarten Baert
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes