Regression: monitor scheduled config reloads not applied, internal screen stays off after disconnecting external screen #14230
Replies: 4 comments 9 replies
-
|
I've seen this behavior, but intermittently, and only with specific laptop/dock, couldn't catch to diagnose. |
Beta Was this translation helpful? Give feedback.
-
|
@vaxerski, as you wrote the config refactor commit (8726a73), do you know where it could have added a race condition (I guess) in the monitor config/state? |
Beta Was this translation helpful? Give feedback.
-
|
I used an LLM to come up with this patch: fix-monitor-config-event.patch I tested it, it fixes the bug on However, I don't know if this is the best solution nor if it should be done outside of the scheduleReload() method. |
Beta Was this translation helpful? Give feedback.
-
|
I bump this issue, as the same thing happened on my other laptop, Fedora 44 ARM, so it seems to be easily reproducible. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use kanshi on my laptop with an external monitor. Kanshi has 2 profiles: when it's docked to my monitor, the internal screen of the laptop is disabled, otherwise the internal screen is enabled.
Example of kanshi config to reproduce the problem:
Since 8726a73, this doesn't work and after disconnecting the monitor, eDP-1 stays off. If I manually trigger
kanshictl reloadthen it works, or if I plug back the screen it's in a weird state that turn on both screens and disconnecting it quickly after allows me to recover the screen. Kanshi detects the disconnection and tries to load the correct profile, but the screen stays off.I bisected it to 8726a73. Going back to b940b0d makes it work again.
Edit: fix-monitor-config-event.patch fixes the problem, but is probably not a good solution.
Update: retried with Hyprland built on 5e441ca (2026-05-11), the problem is still present.
Beta Was this translation helpful? Give feedback.
All reactions