[xdg-desktop-portal-kde] [Bug 523515] InputCapture session not torn down when the portal frontend crashes -> all keyboard/pointer input stays diverted (desktop input freeze)
Marcus <[email protected]> Tue, 04 Aug 2026 11:20:09 +0000
| Newsgroups | gmane.comp.kde.devel.bugs |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=523515 Marcus <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/xdg-desktop-portal-kde/- | |/commit/e0cf8bf311a7baad893 | |3797ec2fca0b94eb7d3d5 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #7 from Marcus <[email protected]> --- Git commit e0cf8bf311a7baad8933797ec2fca0b94eb7d3d5 by Marcus Renheim. Committed on 04/08/2026 at 10:08. Pushed by davidre into branch 'master'. session: release all sessions when the portal frontend disappears Every session in this backend is created on behalf of the single portal frontend (org.freedesktop.portal.Desktop). If it drops off the bus without cleanly closing its sessions - for example if it crashes - nothing tears them down. For an InputCapture session that means KWin keeps diverting all pointer and keyboard input into the now ownerless EIS channel, so the desktop renders normally but accepts no input until KWin is killed. Watch the frontend centrally and close every session if it disappears, which drives the existing Session::closed teardown for each. This covers all session types rather than only input capture. M +10 -0 src/desktopportal.cpp M +2 -0 src/desktopportal.h M +13 -0 src/session.cpp M +1 -0 src/session.h https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/e0cf8bf311a7baad8933797ec2fca0b94eb7d3d5 -- You are receiving this mail because: You are watching all bug changes.