mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: device and device_id is null for monitors connected to hub #302
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nilzen on GitHub (Feb 27, 2024).
Describe the bug
My laptop monitor is detected correctly with a
deviceanddevice_idproperty but the two monitors that are connected to a Dell dock isn't detected correctly and cannot be adressed in monitor index preferences.Screenshots and Videos

Operating System
@LGUG2Z commented on GitHub (Feb 27, 2024):
Thanks for the report! Unfortunately docks do not report hardware information to the standard Win32 monitor hardware information APIs, which is why these two properties are explicitly
Option<T>types:1a8b6a7398/komorebi/src/monitor.rs (L32)In cases like this, you can use
monitor_index_preferencesinstead, which assigns indices for each monitor based on their position on the virtual screen that Windows creates for all monitors, see this thread for more: https://github.com/LGUG2Z/komorebi/issues/275#issuecomment-1292321480.Closing this ticket as there is no path forward to reading monitor hardware data from proprietary docking hubs.