Skip to content

[Bug] Workspace swap when login after RDP disconnect #723

@ShortArrow

Description

@ShortArrow

Describe the bug

When disconnecting from an RDP session and logging in locally,
incorrectly reassigns workspaces to each monitors.

This is fine as it works fine during an RDP session. After RDP it's the problem.

This may occur if the number of monitors on the RDP receiving side and the RDP sending side are different.(Not tested case have the same number of extended displays)

  • before RDP
- monitor none (notepc display folded)
- monitor 1 (extended display)
  - workspace 1
  - workspace 2
- monitor 2 (extended display)
  - workspace 3
  - workspace 4
  • on RDP
- monitor 1 (rdp display)
  - workspace 1
  - workspace 2
  - workspace 3
  - workspace 4
  • after RDP
- monitor none (notepc display folded)
- monitor 1 (extended display)
  - workspace 3
  - workspace 4
- monitor 2 (extended display)
  - workspace 1
  - workspace 2

Enviroment

  • Win10 22H2
  • glazewm v3(commit ee86fbf)
  • zebar (commit 201ae2285dce)

Reproduction

No response

Stack trace or error logs (if applicable)

No response

Version number

v3(commit ee86fbf)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions