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

QtSvg doesn't support feGaussianBlur

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.0 FF
    • 6.7.0 Beta3
    • SVG Support
    • None
    • Linux/Wayland
    • c58e6c9f2 (dev)

    Description

      https://www.qt.io/blog/qt-svg-not-so-1.2-tiny-any-more claimed that Qt 6.7 will support <filter> and <feGaussianBlur>. But it doesn't correctly render an SVG containing those elements in my case.

      Attached are:

      1. the source SVG file "alias.svg", extracted from the "Breeze" cursor theme in KDE;
      2. test code "test.cpp";
      3. PNG files rendered by Inkscape, ReSVG, and QtSVG in Qt6.6.2 and Qt6.7beta3

      Both Inkscape and ReSVG render the SVG as expected. Qt 6.6 renders it without the blur effect. While Qt 6.7 renders a blank image.

      test.cpp

      Attachments

        1. alias.svg
          1 kB
          Jin Liu
        2. alias-inkscape.png
          0.4 kB
          Jin Liu
        3. alias-qt6.6.png
          0.3 kB
          Jin Liu
        4. alias-qt6.7.png
          0.1 kB
          Jin Liu
        5. alias-resvg.png
          0.7 kB
          Jin Liu
        6. blur-offset.tar.gz
          20 kB
          Jin Liu
        7. default.svg
          7 kB
          Jin Liu
        8. test.cpp
          0.4 kB
          Jin Liu
        9. wait.svg
          4 kB
          Jin Liu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            matthias_rauter Matthias Rauter
            genericity Jin Liu
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes