mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #1408] Workspaces module doesn't update focused workspace after window changes montior in Sway #8853
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#8853
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ikoas on GitHub (Mar 1, 2026).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1408
Describe the bug
In a multi monitor setup using Sway, changing a window from a one monitor to another using
bindsym $mod+Shift+Left move left, or other directions, keeps focus on that window, so when we have monitor A with workspace 1 and monitor B with workspace 2 and we move a window from A to B the focus is kept on the window so then the focus moved from workspace 1 to 2. The problem is that when doing this the Workspaces module shows focus is still on workspace 1.To reproduce
Steps to reproduce the behavior:
workspacesbindsym $mod+Shift+Left move leftExpected behavior
After moving a window to another monitor using
bindsym $mod+Shift+Left move left, the workspace module should show that focus is on the workspace where the window was moved.System information:
Additional context
Using any of the following Sway keybinds results in this behavior:
But using these ones don't. My guess is that this is because these don't maintain the focus on the window after moving it:
Maybe this isn't related but I noticed that moving the window using
bindsym $mod+Shift+Left move leftonly moves the window but keeps the mouse in place, so if you move a window from A to B, the mouse stays on A.Screenshots