Windows with "Always on Visible Workspace" on take focus/become the topmost window after switching workspaces
- Dominant language
- Vala
- Stars
- 301
- Forks
- 83
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 7
Description
### What Happened?
Title. Not shown in the recording, but it happens with both maximized and normal windows.
https://github.com/user-attachments/assets/fa10e8c2-7537-4578-8b32-6391e4c5d3f1
### Steps to Reproduce
1. Open window on workspace 1, make sure it's focused
2. Open another window on workspace 2
3. Turn on "Always on Visible Workspace" window context menu option
4. Switch to workspace 1, window 2 is on top of window 1 despite it being focused before
### Expected Behavior
Such window to act like a normal one, as in, not cover other windows unless purposefully focused.
### OS Version
8.x (Circe)
### OS Architecture
amd64 (on most hardwares)
### Session Type
Classic and Secure Sessions (I have tested in both)
### Software Version
Latest release (I have run all updates)
### Log Output
```shell
```
### Hardware Info
_No response_
Contributor guide
Research direction
The issue names no files, tests, or entry points. First reproduce the workspace-switching case with “Always on Visible Workspace” enabled in both maximized and normal windows, then trace Gala/Mutter’s focus and stacking behavior; done means the window behaves like a normal window after switching workspaces and does not cover the focused window.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100