WayfireWM / WayfireWM/wayfire

All windows moved to workspace 1 after laptop suspend/resume cycle

Open
#2,882 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug core wlroots
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

Describe the bug
Whenever I close my laptop, all windows on all workspaces appear in workspace 1 when I repopen it.

To Reproduce

  1. have multiple workspaces
  2. have a terminal or whatever in a workspace other than workspace 1
  3. close laptop
  4. open laptop
  5. observe all windows now being in workspace 1

Expected behavior
I would expect windows to remain in their original workspace

Screenshots or stacktrace

Wayfire version
0.10.0 in gentoo linux

Workaround
Enabling the preserve-output plugin appears to revert the observed behaviour to what I used to se with version 0.9.x.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the suspend/resume cycle with multiple workspaces and windows, then compare the behavior with and without the preserve-output plugin. Trace the workspace handling involved in resume and verify that each window remains on its original workspace without relying on that workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.