Skip to content

View disappears if it is made sticky when it's not on the current workspace #2910

@dkondor

Description

@dkondor

Describe the bug
If a view that is not on the current workspace is made sticky, it will stay invisible. I found this when working on #2909 and not entirely sure if it can be reproduced in another way, but probably by using IPC.

To Reproduce
Steps to reproduce the behavior:

  1. Place a view on workspace A
  2. Switch to workspace B
  3. Set the view as "sticky"
  4. View does not appear
  5. Switch back to workspace A
  6. View is visible for a moment, but then disappears and cannot be found on any workspace

Expected behavior
The view appears on workspace B in step 3 and also stays visible when changing workspaces.

Screenshots or stacktrace

Wayfire version
git with #2909

Metadata

Metadata

Assignees

No one assigned

    Labels

    codebaseeasyIssues that do not require knowledge about the whole codebaseenhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions