hyprswitch icon indicating copy to clipboard operation
hyprswitch copied to clipboard

Grouped windows overlay each other in the gui

Open matejdro opened this issue 11 months ago • 4 comments

When there are several windows occupying the same space, but grouped, hyprswitch will show them all overlapping, making it difficult to switch to any of the windows in that group:

Image

Maybe they could be artificially split up (with the rules of the dwindle splitting), so all would be visible in the gui cell?

matejdro avatar Jan 25 '25 07:01 matejdro

This could be combined with tiling of floating windows, I will think of a way to implement this.

H3rmt avatar Jan 25 '25 11:01 H3rmt

How does this sound?

When two or more overlapping windows are detected:

  1. Calculate union bounding box of all windows
  2. Instead of drawing windows in their actual position, draw a grid of windows inside that bounding box

matejdro avatar Jan 25 '25 18:01 matejdro

I'm thinking of adding an "adaptive" styling mode. You can select either "real" or "adaptive" mode to either draw the clients with their actual position, regardless of the "switch type" (client/workspace/monitor), or to only draw clients in a row, workspaces in a row, etc.

H3rmt avatar Feb 13 '25 01:02 H3rmt

Implemented in the new rewrite, the switch mode now shows al windows in a row regardless of size, floating state, etc

H3rmt avatar May 09 '25 00:05 H3rmt

Switch mode now shows them separate, overview still layered (intended)

H3rmt avatar Jun 01 '25 13:06 H3rmt