https://bugs.kde.org/show_bug.cgi?id=513085

            Bug ID: 513085
           Summary: svg text XML nodes with only white space do not get
                    parsed.
    Classification: Applications
           Product: krita
      Version First git master (please specify the git hash!)
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Tool/Text
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 187426
  --> https://bugs.kde.org/attachment.cgi?id=187426&action=edit
Test file with white-space only test content elements.

SUMMARY
This was caused by
https://invent.kde.org/graphics/krita/-/commit/153fa48b513b53d773cfbfc3bcb3c125703f8c2c

Qt5.15: https://qt-project.atlassian.net/browse/QTBUG-92369#icft=QTBUG-92369

Qt 6 has https://doc.qt.io/qt-6/qdomdocument.html#ParseOption-enum



STEPS TO REPRODUCE
1. Open test file in krita and firefox.
2. Notice that the second text has overlapping text in krita
3. This is caused by carriage return getting stripped, because it is alone in
its text content element.


OBSERVED RESULT

White space only text content elements do not get loaded, leading to removed
white spaces.

EXPECTED RESULT

White spaces will get loaded.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to