Bug 500290 - KRunner history suggestion text doesn't line up correctly if the search scrolls past its initial position
Summary: KRunner history suggestion text doesn't line up correctly if the search scrol...
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 6.3.2
Platform: Other Other
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-17 23:47 UTC by tqd8
Modified: 2025-03-08 00:11 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tqd8 2025-02-17 23:47:30 UTC
SUMMARY
When entering very long text into krunner such that the text scrolls horizontally to allow you to see where your cursor is, the faded completion text stays in place and doesn't scroll along.

Spotted in openSUSE openQA, e.g. https://openqa.opensuse.org/tests/4848831/video?filename=video.webm at 6:16 and various other times


STEP TO REPRODUCE
1. Enter text long enough to make the text scroll

OBSERVED RESULT
Faded completion/suggestion text stays in place and does not scroll along

EXPECTED RESULT
Faded completion/suggestion text scrolls along with the entered text, or is not displayed at all


OS: openSUSE Tumbleweed (latest snapshot)
Comment 1 BOF 2025-03-04 08:24:54 UTC
I can confirm this issue

Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-17-generic (64-bit)
Graphics Platform: Wayland
Comment 2 Bug Janitor Service 2025-03-04 19:17:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5287
Comment 3 Nate Graham 2025-03-08 00:10:04 UTC
Git commit c07853991412fbb034bf7fb9a2f2ad1a5832fc95 by Nate Graham.
Committed on 07/03/2025 at 23:38.
Pushed by ngraham into branch 'master'.

RunCommand: hide faded completion text before field content overflows

When the text field content overflows because it's really long, it no
longer perfectly overlaps the faded completion text, resulting in a
visual mess.

At this text length, the faded completion next no longer serves any
purpose anyway, so hide it.
FIXED-IN: 6.3.3

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/c07853991412fbb034bf7fb9a2f2ad1a5832fc95
Comment 4 Nate Graham 2025-03-08 00:11:03 UTC
Git commit bf9d29527c9aa42b7a5e2f15f613330509167ed3 by Nate Graham.
Committed on 08/03/2025 at 00:10.
Pushed by ngraham into branch 'Plasma/6.3'.

RunCommand: hide faded completion text before field content overflows

When the text field content overflows because it's really long, it no
longer perfectly overlaps the faded completion text, resulting in a
visual mess.

At this text length, the faded completion next no longer serves any
purpose anyway, so hide it.
FIXED-IN: 6.3.3


(cherry picked from commit c07853991412fbb034bf7fb9a2f2ad1a5832fc95)

Co-authored-by: Nate Graham <nate@kde.org>

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/bf9d29527c9aa42b7a5e2f15f613330509167ed3