https://bugs.kde.org/show_bug.cgi?id=454000
Bug ID: 454000 Summary: current activity information doesn't change Product: kactivitymanagerd Version: 5.24.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: ivan.cu...@kde.org Reporter: masm+...@masm11.me CC: plasma-b...@kde.org Target Milestone: --- SUMMARY I want to get the name of the current activity via dbus. But I always get the same information. STEPS TO REPRODUCE While running the following code, I should get the current activity information: ---- while :; do CurrentActivity=$(dbus-send --session --dest=org.kde.ActivityManager \ --type=method_call --print-reply=literal /ActivityManager/Activities \ org.kde.ActivityManager.Activities.CurrentActivity | tr -d "[:blank:]") dbus-send --session --dest=org.kde.ActivityManager --type=method_call \ --print-reply /ActivityManager/Activities \ org.kde.ActivityManager.Activities.ActivityInformation \ "string:$CurrentActivity" sleep 1 done ---- OBSERVED RESULT I always get the following output: ---- method return time=1652890189.574943 sender=:1.16 -> destination=:1.3398 serial=3376 reply_serial=2 struct { string "4904d430-4ad8-40bf-80bf-ab19fb833260" string "Default" string "" string "" int32 2 } ---- After switching focus or starting another app, the output does not change. EXPECTED RESULT The command outputs the correct information. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION Wayland. -- You are receiving this mail because: You are watching all bug changes.