https://bugs.kde.org/show_bug.cgi?id=528936
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from [email protected] --- Confirming this on Fedora 45 / Plasma 6.8.3 / Wayland (Intel Panther Lake, kernel 7.3.4, two external monitors, lid already closed at power-on): - At startup the internal eDP-1 is enabled and used; kscreen-doctor reports "eDP-1 enabled", i.e. KWin picked the lidClosed=false setup from kwinoutputconfig.json. - Opening and closing the lid once after login fixes it immediately: the lidClosed=true setup (eDP-1 disabled) is applied. So only the initial switch state at startup is lost, the live event path works fine. - Regression confirmed against 6.8.2: kwin was updated to 6.8.3 on 2026-11-16 and the problem appeared afterwards. This matches MR 10391: `Connection::setup()` calls `processEvents()` and therefore dispatches the initial SW_LID event inside `InputRedirection::setupInputBackends()` / `addInputBackend()`, which runs in the `InputRedirection` constructor - before `Workspace` (and thus `LidSwitchTracker`) is created. `LidSwitchTracker` keeps its default `m_isLidClosed = false` for the whole session. Side note: the same early flush lets a queued pointer motion event reach `PointerInputRedirection::processMotion()` while `InputRedirection::s_self` is still nullptr, producing a SIGSEGV in `InputRedirection::syncTabletWithMouse()` at startup, so delaying these events should fix both. -- You are receiving this mail because: You are watching all bug changes.
