Bug 430782 - distance between word and label too small
Summary: distance between word and label too small
Status: REPORTED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: 5.7.6.201180
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL: help:/plasma-desktop/panel.html#panel...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-24 11:25 UTC by Christopher Yeleighton
Modified: 2021-01-05 19:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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