Bug 486305 - Plasmoid license viewer renders static line breaks, making the text difficult to read
Summary: Plasmoid license viewer renders static line breaks, making the text difficult...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 486308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-29 15:52 UTC by Roke Julian Lockhart Beedell
Modified: 2024-09-20 01:48 UTC (History)
5 users (show)

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


Attachments
Depiction of the problem. (76.94 KB, image/png)
2024-04-29 15:52 UTC, Roke Julian Lockhart Beedell
Details
Depiction of the problem. (73.93 KB, image/png)
2024-04-29 15:53 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-04-29 15:52:14 UTC
SUMMARY
The Plasmoid license viewer renders static line breaks, when it shouldn't.

STEPS TO REPRODUCE
1.  Open any plasmoid with an About page (which contains a license) like Application Launcher and Kate Sessions.
2.  Invoke the link to the fake dialog overlay which displays the license.

OBSERVED RESULT
It renders the line breaks, making the license damn near unreadable.

EXPECTED RESULT
It should render them like CommonMark-compliant Markdown processors do - ignore line breaks of lines directly next to another, meaning that the license remains unchanged on disk (legally important) yet is rendered in an accessible manner.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
I've set this as minor solely because locating a copy of the GPL online is easy. However, were a plasmoid to utilize another (especially custom) license, this would be problematic.
Comment 1 Roke Julian Lockhart Beedell 2024-04-29 15:52:23 UTC
Created attachment 169003 [details]
Depiction of the problem.
Comment 2 Roke Julian Lockhart Beedell 2024-04-29 15:53:13 UTC
Created attachment 169004 [details]
Depiction of the problem.
Comment 3 cwo 2024-09-18 11:20:31 UTC
*** Bug 486308 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-09-20 01:48:05 UTC
Can confirm, but I'm unsure how to craft the appropriate text transformation to fix this. The code is in plasma-desktop:desktoppackage/contents/configuration/AboutPlugin.qml, line 80