Bug 502615 - Improper indentation formatting of Man pages
Summary: Improper indentation formatting of Man pages
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 22.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-09 15:05 UTC by Erec
Modified: 2025-04-13 05:35 UTC (History)
2 users (show)

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


Attachments
khelpcenter with kio-man from kio-extras 24.12.2 (88.16 KB, image/png)
2025-04-09 15:17 UTC, Luigi Toscano
Details

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