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

SVG images with wrapped <svg> tag are broken (Mobile)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.2
    • SVG Support
    • None
    • Android, iOS/tvOS/watchOS

    Description

      Both the problematic files have their <svg> tag wrapped in another <svg> tag.

      You can use an online tool like https://www.svgviewer.dev/ to check it easily.
      If the outer <svg> tag is removed, they work fine.

      This issue can be reproduced, only on Mobile platforms, not desktop.

       

      Attached the problematic SVGs, and the fixed ones.

      This behaviour did not happen on Qt5.

       

      Is it a bug or Qt wants to do it this way?

       

      Attachments

        1. account_linking_fixed.svg
          36 kB
        2. account_linking.svg
          36 kB
        3. IMG_55ECE154112C-1.jpeg
          IMG_55ECE154112C-1.jpeg
          290 kB
        4. settings_fixed.svg
          2 kB
        5. settings.svg
          2 kB
        6. svg.qml
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            albertoromero alberto romero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes