Bug 501208 - Text is bolder than normal after typing when using a history mode that shows faded gray completion text
Summary: Text is bolder than normal after typing when using a history mode that shows ...
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 6.3.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-07 23:51 UTC by Perz1val
Modified: 2025-03-13 01:08 UTC (History)
3 users (show)

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


Attachments
Screenshots made inside a freshly installed Arch VM and on host (752.77 KB, image/png)
2025-03-07 23:51 UTC, Perz1val
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perz1val 2025-03-07 23:51:04 UTC
Created attachment 179216 [details]
Screenshots made inside a freshly installed Arch VM and on host

SUMMARY

Text is blurry after typing in krunner textbox input. After pressing backspace text stops being blurry. After opening krunner with textbox remembering previous value it is not blurry. I am including a screenshot from a VM (800x600) and from my customized setup (in which the issue is worse). Changing anti aliasing in plasma settings and rebooting does not seem have an effect on krunner (but it works on the rest of plasma).

STEPS TO REPRODUCE
1. Open krunner
2. Type a character
3. Observe blurry text

OBSERVED RESULT

Text is blurry (smeared 1px vertically)

EXPECTED RESULT

Text not being blurry

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

I have wayland
Comment 1 Nate Graham 2025-03-08 00:16:56 UTC
This is caused by the normal text overlapping the faded gray completion text, making their anti-aliased edges overlap and causing the text to look bolder than it should.

We may need to redo how the faded completion text is implemented, as the current implementation of having two text labels overlap has caused multiple subtle issues.
Comment 2 Nate Graham 2025-03-13 01:08:00 UTC
Git commit 7e851511d1be625eb218e5ca11dcc59bd765627d by Nate Graham.
Committed on 13/03/2025 at 01:03.
Pushed by ngraham into branch 'master'.

RunCommand: hide faded completion text when it matches search text

In this case, we don't need to see it since it's not actually visible.

This doesn't fully fix the issue of the text becoming bolder and/or
fuzzier (depending on font and screen scale) when the faded completion
text label is visible, but it does make the issue happen less
frequently.

M  +4    -1    krunner/qml/RunCommand.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/7e851511d1be625eb218e5ca11dcc59bd765627d