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

Theme parsing error: <data>:1:0: Expected a valid selector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.5.1
    • GUI: Font handling
    • None
    • Linux/Wayland, Linux/X11

    Description

      This is apparently a result of QTBUG-112896, the fix has introduced invalid CSS code (only the rule block without a selector). Calling QFontDatabase::systemFont(QFontDatabase::FixedFont) on a system using the GTK platformtheme should be enough to reproduce I believe.

      I believe the best fix would be to use gtk_style_context_add_class with GTK_STYLE_CLASS_MONOSPACE or "monospace" like libvte does instead of introducing manual CSS code.

      Attachments

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              ilya-fedin Ilya Fedin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes