Bug 403476

Summary: SVG multiline text displayed single line
Product: [Applications] gwenview Reporter: Petr <pm>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 18.04.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-69508
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: test svg
firefox
gwenview at al

Description Petr 2019-01-21 21:01:39 UTC
SUMMARY
all text entered as multiline in SVG is not displayed as such, appears on a single line instead.
=> this happens in ALL kde tools (dolphin preview, showfoto, etc), so i suspect this to be an error in some general underlying qt-lib.
(tested **ok** with: firefox, chrome, inkscape, libreoffice, somewhat in krita)

STEPS TO REPRODUCE
1. create a multiline textfield in svg (through inkscape)
2. navigate at it in gwenview. it looks wrong ...


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS (tested on fedora + opensuse)
Gwenview: 18.04.2 (17.04.2)
Linux/KDE Plasma: fedora29 (opensuse 42.3)
KDE Plasma Version: 5.14.4 (5.8.7)
KDE Frameworks Version: 5.53.0 (5.32.0)
Qt Version: 5.11.3 (5.6.2)

ADDITIONAL INFORMATION
related to 221413, supposedly fixed in 2012 in QT (there mentioned nokia-qt-service doesn't exist anymore) ... to my opinion, it's not solved. this bug has there been as long as i can remember, since years ...
Comment 1 Nate Graham 2019-02-06 04:27:05 UTC
It's not clear to me what the problem is. Aren't most SVG files multiline? They all show up just fine for me in Gwenview.

Can you attach a screenshot or an affected file?
Comment 2 Petr 2019-02-06 09:21:48 UTC
Created attachment 117856 [details]
test svg

created by inkscape
Comment 3 Petr 2019-02-06 09:25:46 UTC
Created attachment 117857 [details]
firefox

that is correct
Comment 4 Petr 2019-02-06 09:26:31 UTC
Created attachment 117858 [details]
gwenview at al

hmm, even cut the line ...
Comment 5 Petr 2019-02-06 09:28:11 UTC
(the "multiline" refers to the text entered/displayed as svg, not the svg-file)
Comment 6 Christoph Feck 2019-02-06 12:06:41 UTC
https://bugreports.qt.io/browse/QTBUG-69508