glzr-io/glazewm

Multi monitor workspace binding issue

Opened this issue · 6 comments

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?

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.

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.

  • name: "1"
    display_name: "Work"
    bind_to_monitor: 1
  • name: "2"
    display_name: "Read"
    bind_to_monitor: 2
  • name: "3"
    display_name: "Communication"
    bind_to_monitor: 3
  • name: "4"
    bind_to_monitor: 4
  • name: "5"
    bind_to_monitor: 5
  • name: "6"
    bind_to_monitor: 6
  • name: "7"
    bind_to_monitor: 7
  • name: "8"
    bind_to_monitor: 8
  • name: "9"
    bind_to_monitor: 9

I'm facing the same issue with two screens.

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

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

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