Closed cdahmedeh closed 1 month ago
I have also seen this issue on a 3 monitor setup where the dock is connected to 2 monitors. here is my error log:
13/05/2024 11:35:20 AM
GlazeWM.Infrastructure.Exceptions.FatalUserException: At least 1 workspace is required per monitor.
at GlazeWM.Domain.Monitors.CommandHandlers.AddMonitorHandler.ActivateWorkspaceOnMonitor(Monitor monitor) in D:\a\glazewm\glazewm\GlazeWM.Domain\Monitors\CommandHandlers\AddMonitorHandler.cs:line 58
at GlazeWM.Domain.Monitors.CommandHandlers.AddMonitorHandler.Handle(AddMonitorCommand command) in D:\a\glazewm\glazewm\GlazeWM.Domain\Monitors\CommandHandlers\AddMonitorHandler.cs:line 45
at GlazeWM.Infrastructure.Bussing.Bus.Invoke[T](T command) in D:\a\glazewm\glazewm\GlazeWM.Infrastructure\Bussing\Bus.cs:line 48
at GlazeWM.Domain.Monitors.CommandHandlers.RefreshMonitorStateHandler.Handle(RefreshMonitorStateCommand command) in D:\a\glazewm\glazewm\GlazeWM.Domain\Monitors\CommandHandlers\RefreshMonitorStateHandler.cs:line 41
at GlazeWM.Infrastructure.Bussing.Bus.Invoke[T](T command) in D:\a\glazewm\glazewm\GlazeWM.Infrastructure\Bussing\Bus.cs:line 48
at GlazeWM.Domain.Monitors.EventHandlers.DisplaySettingsChangedHandler.Handle(DisplaySettingsChangedEvent event) in D:\a\glazewm\glazewm\GlazeWM.Domain\Monitors\EventHandlers\DisplaySettingsChangedHandler.cs:line 18
at GlazeWM.Infrastructure.Bussing.Bus.Emit[T](T event) in D:\a\glazewm\glazewm\GlazeWM.Infrastructure\Bussing\Bus.cs:line 87
at GlazeWM.Infrastructure.Bussing.Bus.<>c__DisplayClass8_0`1.<EmitAsync>b__0() in D:\a\glazewm\glazewm\GlazeWM.Infrastructure\Bussing\Bus.cs:line 101
Command history: HandleFatalExceptionCommand, AttachContainerCommand, AddMonitorCommand, RefreshMonitorStateCommand, SyncNativeFocusCommand, RedrawContainersCommand, ReplaceContainerCommand, ResizeContainerCommand, AttachContainerCommand, DetachContainerCommand, MoveContainerWithinTreeCommand, DetachContainerCommand, SetFocusedDescendantCommand, ResizeContainerCommand, AttachContainerCommand
State dump: {"id":"e012951b-fc53-483c-90cb-5df843a40635","x":0,"y":0,"width":0,"height":0,"type":"root","focus_index":0,"children":[{"device_name":"\\\\.\\DISPLAY1","id":"02b7790d-4a40-4b9d-b0d5-1609fb220559","x":0,"y":0,"width":1920,"height":1080,"type":"monitor","focus_index":0,"children":[{"tiling_direction":"horizontal","size_percentage":1,"name":"1","id":"bdfaab0d-e324-448a-a8e5-b9890c940123","x":10,"y":40,"width":1900,"height":1030,"type":"workspace","focus_index":2,"children":[{"floating_placement":{"left":481,"top":37,"right":1440,"bottom":1074,"x":481,"y":37,"width":959,"height":1037},"border_delta":{"left":7,"top":0,"right":7,"bottom":7},"handle":460556,"size_percentage":0.5,"id":"5f8ccbaa-706d-416c-a858-c1bc10435d76","x":10,"y":40,"width":945,"height":1030,"type":"window","focus_index":1,"children":[]},{"floating_placement":{"left":481,"top":37,"right":1440,"bottom":1074,"x":481,"y":37,"width":959,"height":1037},"border_delta":{"left":7,"top":0,"right":7,"bottom":7},"handle":1444308,"size_percentage":0.5,"id":"a4263af9-3cf0-4303-aef9-0c5e26b650a0","x":965,"y":40,"width":945,"height":1030,"type":"window","focus_index":0,"children":[]}]},{"tiling_direction":"horizontal","size_percentage":0,"name":"3","id":"e4ee5dc5-8ba9-41ff-94cb-279b17742f1d","x":10,"y":40,"width":1900,"height":1030,"type":"workspace","focus_index":1,"children":[{"floating_placement":{"left":10,"top":40,"right":1910,"bottom":1070,"x":10,"y":40,"width":1900,"height":1030},"border_delta":{"left":0,"top":0,"right":0,"bottom":0},"handle":1051466,"size_percentage":1,"id":"83fc21af-4036-4e62-96ef-2cf575e3c0d6","x":10,"y":40,"width":1900,"height":1030,"type":"window","focus_index":1,"children":[]},{"floating_placement":{"left":488,"top":40,"right":1433,"bottom":1070,"x":488,"y":40,"width":945,"height":1030},"border_delta":{"left":0,"top":0,"right":0,"bottom":0},"handle":396242,"previous_state":"tiling","id":"5aa7fb19-9e32-43ef-9402-af227d644805","x":0,"y":0,"width":0,"height":0,"type":"window","focus_index":0,"children":[]}]},{"tiling_direction":"horizontal","size_percentage":0,"name":"2","id":"faa3989f-d3ca-402d-867e-8dd0782c63b7","x":10,"y":40,"width":1900,"height":1030,"type":"workspace","focus_index":0,"children":[{"floating_placement":{"left":481,"top":37,"right":1440,"bottom":1074,"x":481,"y":37,"width":959,"height":1037},"border_delta":{"left":7,"top":0,"right":7,"bottom":7},"handle":527048,"size_percentage":0.5,"id":"e845857f-b1f5-411d-970a-5973990e27d8","x":10,"y":40,"width":945,"height":1030,"type":"window","focus_index":1,"children":[]},{"floating_placement":{"left":238,"top":124,"right":1682,"bottom":987,"x":238,"y":124,"width":1444,"height":863},"border_delta":{"left":7,"top":0,"right":7,"bottom":7},"handle":592464,"size_percentage":0.5,"id":"8a6117e0-b7fd-4b48-b031-042d96059c88","x":965,"y":40,"width":945,"height":1030,"type":"window","focus_index":0,"children":[]}]}]},{"device_name":"\\\\.\\DISPLAY2","id":"0e8ffc9c-3852-4922-9338-d358a4a36c18","x":3840,"y":0,"width":1920,"height":1080,"type":"monitor","focus_index":1,"children":[]}]}
Crashes and inconsistencies on display setting changes, system standby, and monitor disconnections should now be fixed in v3 🎉 Latest release
When connecting my laptop to the docking station, which is connected to 5 displays, GlazeWM crashes with a popup error message "At least 1 workspace is required per monitor". Starting GlazeWM again works but of course, I lose all window positions and workspace placements.
This error even happens if there are indeed 5 workspaces that are active. Running GlazeWM as administrator doesn't help either.
Displays layout and setup
These are all external screens. During the switch when connecting the dock, display "6", which is the internal laptop screen, is disabled.
3 : BenQ EL2870U (3840x2160@60Hz) (Set as primary monitor) 2 : BenQ EL2870U (3840x2160@60Hz) 1 : ASUS VG289Q1A (3840x2160@60Hz) 4 : ASUS VG289Q1A (3840x2160@60Hz) (Connected via DisplayLink adapter) 5 : LG IPS QHD (1440x2560@60Hz) (Connected via DisplayLink adapter) 6 : Internal Display (3000x2000@60Hz) (Disabled)
Hardware and Software
HP Spectre x360 13.5 (13th Gen Intel(R) Core(TM) i7-1355U, Intel Iris Xe Graphics, 32 GB RAM) HP Thunderbolt Dock 120W G4
Windows 11 Pro 23H2 22635.3495 (Insider Build)
GlazeWM v2.1.1 (from Releases page, x64)
Log error message from errors.log
Configuration file config.yaml