Bug 502615

Summary: Improper indentation formatting of Man pages
Product: [Frameworks and Libraries] kio-extras Reporter: Erec <erecio>
Component: defaultAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: john.kizer, luigi.toscano
Priority: NOR    
Version First Reported In: 22.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: khelpcenter with kio-man from kio-extras 24.12.2

Description Erec 2025-04-09 15:05:33 UTC
SUMMARY

Showing man page for SSH in kde help center is misformatted. It seems to increase indent for each listed hyphenated entry...

See -L and -R in the man page for ssh.
-R  [bind_address : ] port : host : hostport 
-R  [bind_address : ] port : local_socket 
-R  remote_socket : host : hostport 
-R  remote_socket : local_socket 


STEPS TO REPRODUCE
1. xdg-open man:ssh
2. scroll down to either -L or -R option

OBSERVED RESULT

each new -R gets indented throwing off the page formatting.

EXPECTED RESULT

-R's are listed as seen in the "man ssh" formatted file with no additional indentations, rather having them listed.

SOFTWARE/OS VERSIONS
Help Center
Version 5.8.22041

KDE Frameworks 
Version 5.96.0

Qt 
Version 5.15.3 (built against 5.15.3)
Comment 1 Luigi Toscano 2025-04-09 15:14:12 UTC
The rendering is done by kio-man, part of kio-extras.
Comment 2 Luigi Toscano 2025-04-09 15:17:13 UTC
Created attachment 180120 [details]
khelpcenter with kio-man from kio-extras 24.12.2

If I understand the issue correctly, I don't see it in a newer build (4:24.12.2-2), see sc
Comment 3 John Kizer 2025-04-13 05:35:13 UTC
For the bug reporter - can you please confirm if you are seeing what Luigi was seeing in an up-to-date version of KHelpCenter (with up-to-date kio-extras underneath)?
Comment 4 Bug Janitor Service 2025-04-28 03:47:23 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-05-13 03:46:57 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.