Bug 481965 - Open windows are listed with low priority in krunner/kickoff search results
Summary: Open windows are listed with low priority in krunner/kickoff search results
Status: RESOLVED INTENTIONAL
Alias: None
Product: krunner
Classification: Plasma
Component: windows (other bugs)
Version First Reported In: 6.0.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-28 21:27 UTC by goo
Modified: 2024-03-03 19:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goo 2024-02-28 21:27:28 UTC
SUMMARY
***
After upgrading to Plasma 6, searching for open windows results in windows listed after other categories like applications, documents and others. Until plasma 5.27.10 open windows were always showed on top of the list.
***

STEPS TO REPRODUCE
1. Open Krunner
2. type in the name of the title of an open window, or part thereof

OBSERVED RESULT
krunner will show the results pertaining to many categories before the windows category even if the title of the window matches the typed pattern with a higher score.

EXPECTED RESULT
Windows with a title matching the pattern typed in krunner's search form should _always_ be listed on top of other results, no matter if the pattern is a partial match, privileging predictability. This has always been the behavior in Plasma 5 and imho this is how it should work.

As a workaround I now use ALT+W to call "qdbus org.kde.krunner /App querySingleRunner windows """
  
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 39
KDE Plasma Version: 6.0.0
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2
Comment 1 fanzhuyifan 2024-02-29 02:31:33 UTC
You can configure your preferred ordering of results in system settings -search-plasma search. Mark the windows plugin as favorite, and drag it to the top.
Comment 2 goo 2024-03-01 00:20:29 UTC
(In reply to fanzhuyifan from comment #1)
> You can configure your preferred ordering of results in system settings
> -search-plasma search. Mark the windows plugin as favorite, and drag it to
> the top.

Thank you, that solved the case. 
Anyhow I believe that Plasma 6 Krunner lacks sane defaults in the way it is showing the results, leaving the user with a confusing list of items.
There is no reason to not  follow the behavior that it had throughout Plasma 5 release cycle, with windows and applications on top of the list by default. Why leave the user that upgraded from Plasma 5 with an inconsistent behavior in respect of what they were used to?