Bug 478330 - [Wayland] Kwin "Activities" window operation submenu is missing and windows from all activities are visible
Summary: [Wayland] Kwin "Activities" window operation submenu is missing and windows f...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: activities (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-10 00:45 UTC by Oded Arbel
Modified: 2024-02-23 16:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2023-12-10 00:45:50 UTC
SUMMARY
With Neon unstable edition full updated, logging in to an updated user account, or a newly created user account, activities do not function properly: the desktop wallpaper and widgets change, but window filtering does not work - all windows are shown, regardless in which activities they were created and the window operation menu does not have the expected "Activities" sub menu to allow to set the correct activity for a window.

Also:
- Window rules that had activities set in them do not cause the windows to be filtered out from other activities and there is no way to set activity when editing/creating window rules.
- The task manager shows all windows even when its behavior is set to "Show only windows from current activity".
- The "Activities" view shows the correct activities and lets me switch between them, as well as the activity list widget in my panel also behaves as expected.

STEPS TO REPRODUCE
1. Have two or more activities enabled.
2. Start an application.
3. Switch to the other activity.

OBSERVED RESULT
The application started in step (2) is still visible on the screen.

EXPECTED RESULT
The application started in step (2) should not be visible on the screen as it is in the other activity.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: offscreen
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
In the past I had this behavior when the `plasma-kactivitymanagerd.service` user service has failed and restarting it fixed the issue, but this is not the case - the service is running properly and looking at its logs (using `journalctl --user -u plasma-kactivitymanagerd.service`) does not show any warnings or errors.
Comment 1 Zamundaaa 2024-02-22 14:24:15 UTC
Is this still happening?
Comment 2 Oded Arbel 2024-02-23 16:29:14 UTC
This specific issue hasn't happened in a long while, though I do get from time to time (I believe only after kwin crash) where all the windows land in the current activity and I have to move them back.

But I'm going to close this issue for now.