Bug 425900 - Search string matching only a single category shows the matched and disabled category in the results view, which is useless
Summary: Search string matching only a single category shows the matched and disabled ...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: sidebarview (show other bugs)
Version: 5.19.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-28 13:11 UTC by Laura David Hurka
Modified: 2024-05-20 16:30 UTC (History)
3 users (show)

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


Attachments
Screenshot of greyed out search results. (8.93 KB, image/png)
2020-08-28 14:25 UTC, Laura David Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
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.