Bug 478505

Summary: Misplaced text in SVG image
Product: [Applications] gwenview Reporter: giacomo.tom.petrucci
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: me, nate
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: BPMN diagram in SVG format

Description giacomo.tom.petrucci 2023-12-14 11:54:15 UTC
Created attachment 164157 [details]
BPMN diagram in SVG format

SUMMARY
I exported a BPMN diagram to SVG using the website https://bpmn.io/, and then opened it inside Gwenview. The text labels appear above the BPMN blocks instead of inside them. I double-checked opening the same image using Firefox 120.0.1 (64-bit) and it displays it correctly.


STEPS TO REPRODUCE
1. Open the attached file both in Gwenview and Firefox
2. Compare the result


OBSERVED RESULT
Gwenview shows the text labels above the respective BPMN blocks.

EXPECTED RESULT
Text labels are shown inside the relative BPMN blocks, as rendered by Firefox.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 1 Nate Graham 2023-12-14 17:36:55 UTC

*** This bug has been marked as a duplicate of bug 336436 ***
Comment 2 ratijas 2023-12-14 18:22:02 UTC
This bug is about Gwenview, so kinda shouldn't be marked as a duplicate for KSvg.

KSvg is (mostly) for Plasma, while Gwenview is a general-purpose image viewer, and as such Gwenview should support it all regardless of what Plasma themes can rely on.
Comment 3 Nate Graham 2023-12-15 15:49:30 UTC
Bug 336436 isn't a KSvg bug, though.
Comment 4 ratijas 2023-12-15 20:09:00 UTC
My bad. I saw "KSvg" mentioned in the last comment there