Bug 478505 - Misplaced text in SVG image
Summary: Misplaced text in SVG image
Status: RESOLVED DUPLICATE of bug 336436
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-14 11:54 UTC by giacomo.tom.petrucci
Modified: 2023-12-15 20:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
BPMN diagram in SVG format (199.35 KB, image/svg+xml)
2023-12-14 11:54 UTC, giacomo.tom.petrucci
Details

Note You need to log in before you can comment on or make changes to this bug.
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