Bug 438947 - KRunner Activity Aware setting not working
Summary: KRunner Activity Aware setting not working
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-20 11:51 UTC by strangequark
Modified: 2021-07-29 19:20 UTC (History)
2 users (show)

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


Attachments
In this, I open Blender in one activity and yet the search query shows up in another activity even with the setting "Activity aware" for KRunner turned on. (1.56 MB, video/x-matroska)
2021-06-20 11:51 UTC, strangequark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description strangequark 2021-06-20 11:51:38 UTC
Created attachment 139538 [details]
In this, I open Blender in one activity and yet the search query shows up in another activity even with the setting "Activity aware" for KRunner turned on.

SUMMARY
The setting "Activity Aware (previous search and history)" under System Settings > Search > KRunner doesn't seem to be working.

STEPS TO REPRODUCE
1. Toggle above setting to on.
2. Search and launch an app using KRunner on one activity
3. Go to a different activity and launch KRunner.

OBSERVED RESULT
Previous search from a different activity is shown (if the Retain previous query setting is on)

EXPECTED RESULT
The previous search from the current activity should appear and not the search that was done in a different activity.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 
(available in About System)
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Comment 1 Alexander Lohnau 2021-07-01 12:11:34 UTC
Ivan, could you please look into this? It seems like it does not work well if KRunner is DBus activated, in the history is a null-uuid as activity id used.