sway icon indicating copy to clipboard operation
sway copied to clipboard

Cycling through floating windows on the same workspace does not wrap

Open kevinclevenger opened this issue 2 years ago • 2 comments

Sway Version: 1.7 Reproduced with the default configuration file Reproduced with the default configuration file changing focus left-> to prev, focus right-> to next

Description:

  1. Start three terminal windows
  2. Toggle floating on all three (all align to the center of the screen)
  3. $mod-h/l will cycle through the floating windows and wrap both ways
  4. Move two of the floating windows
  5. $mod-h/l will cycle through the floating windows once and stop, it will not wrap back to the first/last window
  • I've tried setting focus_wrapping yes/workspace/force with the same results.
  • i3 does cycle through all floating windows on a workspace no matter their size, placement, or orientation.

kevinclevenger avatar Feb 22 '22 01:02 kevinclevenger

sway.log

kevinclevenger avatar Feb 22 '22 01:02 kevinclevenger

I know this is an old issue, but for what it's worth, I'm having the same problem, if the windows are floating and not centred, sway will not wrap once one "end" is reached.

I'm quite new to sway and wayland in general so I'm not sure how to help diagnose the issue, but I hope it can be fixed as it would help my workflow quite a bit.

Otherwise sway has been really great to use so far.

letterlock avatar Aug 12 '22 10:08 letterlock

Any updates on this? I can confirm that this still happens in 1.8 and focus_wrapping indeed does not seem to have any effect.

Edit: focus_wrapping is only used in node_get_in_direction_tiling, not in node_get_in_direction_floating. So this is missing functionality

Ristovski avatar Mar 04 '23 14:03 Ristovski