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

Qt5 ignores Xft on XFCE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0 Alpha
    • 5.7.0
    • GUI: Font handling
    • None
    • 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

            allan.jensen Allan Sandfeld Jensen
            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