Bug 441259

Summary: 8d58c8a943c6016ead476cfc97cc70d35366601a causes list highlight to not appear for first search
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: Application Launcher (Kickoff)Assignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: espidev, mikel5764, plasma-bugs
Priority: HI Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2021-08-20 18:00:53 UTC
After https://invent.kde.org/plasma/plasma-desktop/-/commit/8d58c8a943c6016ead476cfc97cc70d35366601a was merged, the list item highlight does not appear the first time Kickoff is used to search after starting or restarting plasmashell. On all subsequent searches, it does appear, just not the first one.

To reproduce, restart plasmashell and search for something in Kickoff.
Comment 1 Nate Graham 2021-08-20 18:02:07 UTC
Devin, can you take a look?
Comment 2 Devin Lin 2021-08-20 18:05:58 UTC
(In reply to Nate Graham from comment #1)
> Devin, can you take a look?

I suspect https://invent.kde.org/plasma/plasma-desktop/-/blob/8d58c8a943c6016ead476cfc97cc70d35366601a/applets/kickoff/package/contents/ui/KickoffGridView.qml#L98 (showHighlight initially being false), I'll quickly test...
Comment 3 Devin Lin 2021-08-20 18:48:07 UTC
Could you please see if https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/548 solves it?
Comment 4 Devin Lin 2021-08-20 19:39:02 UTC
Git commit 4cc2de24dc7db1e68b5c859dd57f330906e1a58f by Devin Lin.
Committed on 20/08/2021 at 19:37.
Pushed by ngraham into branch 'master'.

Kickoff: Fix first character on search field not showing list highlights

M  +10   -3    applets/kickoff/package/contents/ui/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/commit/4cc2de24dc7db1e68b5c859dd57f330906e1a58f