glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3wm.
GNU General Public License v3.0
6.69k stars 195 forks source link

Multi monitor workspace binding issue #283

Open nacho692 opened 1 year ago

nacho692 commented 1 year ago

I'm trying to bind specific workspaces to specific monitors, according to windows my left one is "2", the middle one is "1" and the right one is "3". Clearly both 1, 2 and 3 should go to the middle monitor, but 1 and 2 is going to the left monitor and 3 to the right one.

workspaces:
  - name: "1"
    bind_to_monitor: 1

  - name: "2"
    bind_to_monitor: 1

  - name: "3"
    bind_to_monitor: 1

  - name: "4"
    bind_to_monitor: 2
    display_name: "4 Status"

  - name: "5"
    display_name: "5 TV"
    bind_to_monitor: 3

  - name: "6"
  - name: "7"
  - name: "8"
  - name: "9"

image

Am I doing anything wrong?

HolbyFPV commented 1 year ago

This is probably a bug. Still haven't had a chance to look at this but if there is a problem with this, we'll try to fix it for the next release (which won't be for some time). If anyone else has 3 monitors and wants to verify this and poke around for the cause, I would appreciate it. Otherwise I can get around to this eventually.

stevenvu commented 1 year ago

I have the same issue. I have 3 monitors and am running Windows 11. I think this issue might be caused by the way Windows 11 handles multi monitors compared to Windows 10. When I unplug the USB C cable and plug it back in, I think it might be renaming the monitors in comparison to what is displayed in display properties. Is there a way of checking this?

The workspaces aren't binding to the correct monitors at the moment. If there are any trouble shooting things you want me to do, please let me know.

With the config below, "Read" is binding to 1, "Communication" is binding to 3 and "7" is binding to 2. Nothing else is binding.

If I change the config, and ask "communicaton" to bind_to_monitor: 1 and "read" to bind_to_monitor: 3 and "7" to bind to 2, the bindings don't change.

al3xfischer commented 1 year ago

I'm facing the same issue with two screens.

nullchilly commented 1 year ago

Same issue here, using move workspace left/right/up/down command as a workaround atm.

naj4you commented 1 year ago

We have a project for a "clean desk" work space at the office. Our 1500 users have recurring configuration problems with the monitors when they change desks/rooms at the office.

Please see the link if you have any use for how we have thought about the monitors.

link: https://github.com/Kristinehamns-kommun/BroDisplaySetup

arthur404dev commented 4 months ago

Same issue, the bind_to_monitor is also set to a boolean, so it errors out when I try to set a monitor index for the workspace