Bug 465753 - Unable to search for session management options in Kicker
Summary: Unable to search for session management options in Kicker
Status: RESOLVED DUPLICATE of bug 375857
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: 5.26.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-02-15 09:47 UTC by Mingcong Bai
Modified: 2024-03-06 16:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kickoff menu showing the "Lock the screen" option upon searching for "lock" (34.53 KB, image/jpeg)
2023-02-15 09:47 UTC, Mingcong Bai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mingcong Bai 2023-02-15 09:47:32 UTC
Created attachment 156260 [details]
Kickoff menu showing the "Lock the screen" option upon searching for "lock"

SUMMARY

With the Kickoff launcher, it is possible to search for session options. Such as by typing in "lock," kick off will show the option to "Lock the screen" (see screenshot). The same could not be done with Kicker.

STEPS TO REPRODUCE

1. Click on the icon to open the Kicker menu.
2. Type in "lock" in an attempt to find the "Lock the screen" option.
3. No such option exists in the search result.

OBSERVED RESULT

Kicker does not show an option to "lock the screen" when searching "lock."

EXPECTED RESULT

Kicker shows an option to "lock the screen" when searching "lock."

SOFTWARE/OS VERSIONS

Operating System: AOSC OS 10.0.1
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.5
Kernel Version: 6.0.19-aosc-main (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1195G7 @ 2.90GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Panasonic Corporation
Product Name: CFSV2-1
System Version: 001
Comment 1 Mingcong Bai 2023-02-17 05:53:18 UTC
I have attempted a patch, though it didn't seem to make any difference.

diff -Naur plasma-desktop-5.26.5/applets/kicker/package/contents/ui/main.qml plasma-desktop-5.26.5.kickersearch/applets/kicker/package/contents/ui/main.qml
--- plasma-desktop-5.26.5/applets/kicker/package/contents/ui/main.qml   2023-01-03 10:14:28.000000000 -0800
+++ plasma-desktop-5.26.5.kickersearch/applets/kicker/package/contents/ui/main.qml      2023-02-15 21:06:01.688556250 -0800
@@ -145,11 +145,7 @@
         favoritesModel: globalFavorites
 
         runners: {
-            const results = ["services", "krunner_systemsettings"];
-
-            if (kicker.isDash) {
-                results.push("desktopsessions", "PowerDevil", "calculator", "unitconverter");
-            }
+            const results = ["services", "krunner_systemsettings", "desktopsessions", "PowerDevil", "calculator", "unitconverter"];
 
             if (plasmoid.configuration.useExtraRunners) {
                 results.push(...plasmoid.configuration.extraRunners);
Comment 2 Nate Graham 2023-02-17 14:53:24 UTC
Hmm, that should work (or a variant of it), but the real reason why Kicker doesn't enable more runners is because its UI for displaying KRunner results is not ideal; each runner's worth of results gets an additional column. So with even just a few more runners enabled, the UI becomes super duper wide and can even overflow on smaller screens. Ultimately a better representation of search results is needed before we can really consider enabling more runners by default.
Comment 3 Mingcong Bai 2023-02-20 08:31:47 UTC
(In reply to Nate Graham from comment #2)
> Hmm, that should work (or a variant of it), but the real reason why Kicker
> doesn't enable more runners is because its UI for displaying KRunner results
> is not ideal; each runner's worth of results gets an additional column. So
> with even just a few more runners enabled, the UI becomes super duper wide
> and can even overflow on smaller screens. Ultimately a better representation
> of search results is needed before we can really consider enabling more
> runners by default.

Strangely, it seems that it was something to do with my system's configuration, because when I tested the patch with a virtual machine, the results did show up, but on a secondary pane to the right of the menu.

Somehow, this second pane does not show up on my system.
Comment 4 Nate Graham 2024-03-06 16:13:54 UTC

*** This bug has been marked as a duplicate of bug 375857 ***