Bug 425900

Summary: Search string matching only a single category shows the matched and disabled category in the results view, which is useless
Product: [Applications] systemsettings Reporter: Laura David Hurka <laura.stern>
Component: sidebarviewAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.19.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 6.1
Sentry Crash Report:
Attachments: Screenshot of greyed out search results.

Description Laura David Hurka 2020-08-28 13:11:56 UTC
SUMMARY
When I search for control modules, the search modules are always greyed out, so I can’t access them. At least I know in which group they are.

STEPS TO REPRODUCE
1. Search for “shutdown”

OBSERVED RESULT
Startup and Shutdown is disabled

EXPECTED RESULT
Startup and Shutdown is accessible

SOFTWARE/OS VERSIONS
KDE Neon 5.19
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73
Comment 1 David Edmundson 2020-08-28 13:56:06 UTC
Can you include a screenshot please
Comment 2 David Edmundson 2020-08-28 13:56:23 UTC
edit, nm, can reproduce
Comment 3 David Edmundson 2020-08-28 13:59:17 UTC
And can reproduce even if I check out a version from 5.19

Which either means it's a frameworks change or this has always existed
Comment 4 Laura David Hurka 2020-08-28 14:25:18 UTC
Created attachment 131244 [details]
Screenshot of greyed out search results.

Just for completeness, here is the screenshot I forgot to attach. :)
Comment 5 Nate Graham 2020-10-12 22:56:01 UTC
I can reproduce the bug. What's going on in this case is that the search results are returning only a category and no KCMs. And the category is disabled, as all categories in the search view are.

The bug seems to be that if the only matched item is a category, and no KCMs matched the search, we display the disabled category anyway instead of the "Nothing found" message.
Comment 6 Nate Graham 2024-05-20 16:30:07 UTC
I am not able to reproduce this anymore with today's git master.