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

QKdeTheme falls back to Qt::ColorScheme::Unknown on invalid desktop theme

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.2, 6.8.0 FF
    • 6.5, 6.7, 6.8
    • GUI: Look'n'Feel
    • None
    • Linux/X11
    • b0b34c56a (dev), 802cd973f (dev), 71d0de983 (dev), 4d4aa3078 (6.7), 1c2bd7809 (6.7), 56c37e7dd (6.7), b8a2d1215 (tqtc/lts-6.5)

    Description

      QKdeTheme expects KDE settings to be stored in specific locations.
      If an unsupported linux distribution stores theme settings elsewhere or not at all, reading the settings will return a default constructed QVariant. In this case, the color scheme will not be updated. When the theme name is found, but does not contain the key words "dark" or "light", the colorScheme is determined heuristically. This fallback doesn't happen, when no theme is found.

      While harmless for supported platforms, this behavior could be changed to the benefit of unsupported ones.

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            axelspoerl Axel Spoerl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: