Summary: | Activating wants-attention window in another activity goes to the wrong virtual desktop | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Oded Arbel <oded> |
Component: | activities | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ericedlund2017, nate, plasma-bugs-null, xaver.hugl, zorael |
Priority: | NOR | ||
Version First Reported In: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/7408d8f9c8cc4aae88bd4e844cc2ee221af00b6a | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | Screencast showing the problem |
Description
Oded Arbel
2020-10-12 10:03:52 UTC
Created attachment 132292 [details]
Screencast showing the problem
This screencast is showing the behavior with Eclipse demanding attention. As can be seen, the task manager entry remains demanding attention after clicking once (and switching activity). In my tests with Konsole it doesn't work that way - after the first click the task manager entry loses the attention flag and if you have multiple windows on the destination activity - it might be difficult to find the correct window that demanded attention.
This is caused because kactivitymanagerd remembers and sets the virtual desktop on activity switch. When kwin switches activity to go to the active window, the daemon then sets the desktop to the last recorded from that activity. To fix this, we need to move this functionality into kwin. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kactivitymanagerd/-/merge_requests/33 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3011 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5871 Git commit 7408d8f9c8cc4aae88bd4e844cc2ee221af00b6a by Xaver Hugl. Committed on 03/12/2024 at 20:16. Pushed by zamundaaa into branch 'master'. activities: don't remember virtual desktops when intentionally switching to a different one M +1 -1 src/activation.cpp M +4 -1 src/activities.cpp M +5 -1 src/activities.h M +1 -1 src/scripting/workspace_wrapper.cpp https://invent.kde.org/plasma/kwin/-/commit/7408d8f9c8cc4aae88bd4e844cc2ee221af00b6a *** Bug 498087 has been marked as a duplicate of this bug. *** |