Bug 430782

Summary: distance between word and label too small
Product: [Applications] khelpcenter Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: REPORTED ---    
Severity: normal CC: aacid, nate, yurchor
Priority: NOR    
Version: 5.7.6.201180   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: help:/plasma-desktop/panel.html#panel-launcher
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Yeleighton 2020-12-24 11:25:03 UTC
SUMMARY

The distance between a word and a following label is smaller than a letter width.

STEPS TO REPRODUCE
1. Open the page "Using Plasma"!
2. Look at the text ‘The default tab is the Favorites tab’!
3. 

OBSERVED RESULT
The space between "the Favorites" is 3px wide.

EXPECTED RESULT
Let the space between "the Favorites" be at least 8px wide!

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.9.14–1–default 5.77.0
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-01-05 05:58:21 UTC
I don't see that text on that page. Can you attach a screenshot showing the issue?
Comment 2 Yuri Chornoivan 2021-01-05 07:10:28 UTC
(In reply to Nate Graham from comment #1)
> I don't see that text on that page. Can you attach a screenshot showing the
> issue?

He meant this page:

https://docs.kde.org/trunk5/en/kde-workspace/plasma-desktop/panel.html

The bad rendering can be caused by the HTML engine.
Comment 3 Albert Astals Cid 2021-01-05 18:12:03 UTC
I'm 99% sure he means khelpcenter, because this is a khelpcenter bug.

https://i.imgur.com/YorJGxu.png

See the space before and after omissió on the third line. Between "per" and "omissió" it's "big" and between "omissió" and "Predeterminat" is rather small.
Comment 4 Nate Graham 2021-01-05 18:32:14 UTC
Ah, I see now.

Yeah, seems like a KHelpCenter bug.
Comment 5 Yuri Chornoivan 2021-01-05 19:08:21 UTC
When I mentioned HTML engine, I had meant embedded KHTML. All such things in the code are

<span xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" class="guiitem"><span class="guilabel">SOME LABEL</span></span>

There are no strange things in the CSS as well:

.guimenu, .guimenuitem, .guisubmenu,
.guilabel, .interface, .guibutton {
    background-color: rgb(220, 220, 220);
    color: black;
    border: 1px solid rgb(190, 190, 190);

    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

Blink in Chromium renders this fine on docs.kde.org, but if you open this page in Konqueror...

https://docs.kde.org/trunk5/en/kde-workspace/plasma-desktop/panel.html

So this looks like a KHTML rendering problem to me.