Bug 501208

Summary: Text is bolder than normal after typing when using a history mode that shows faded gray completion text
Product: [Plasma] krunner Reporter: Perz1val <perz1val>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: alexander.lohnau, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.3.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshots made inside a freshly installed Arch VM and on host

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