Permission dialogs not showing anymore on Plasma

Since the latest update of EndeavourOS ARM (which included upgrade Wayland 1.26.0, Kwin 6.7.4, and xdg-desktop-portal 1.22.1), the dialogs asking for permissions (such as “Input Capture”) stopped appearing.

Context: I am using lan-mouse as a software KVM (a program that let the mouse cursor jump between computers, and all input device plugged into any computer will control the one where the cursor currently is. Think like Synergy, Barrier, Input-Leap, etc.) I have self-compiled it, and am using it among other on a Raspberry CM5 (inside an Argon40 OneUp laptop shell).

Obviously lan-mouse needs to both emulate inputs and capture input, and thus ask for those permissions (and unlike emulate inputs, the capture input cannot be saved and must be re-asked each time I reboot the laptop).
But since this week’s updates, those permission-asking dialogs stopped appearing.

(See the issue I filed for a screenshot).

Weirdly I don’t get any error message on the console from lan-mouse itself. I suppose it’s correctly sending the request to the Plasma desktop environment, but that request isn’t properly processed there.

Does anyone have an idea where I could be digging to find the culprit of this problem?

I’m seeing the same regression after updating Wayland 1.26.0, KWin 6.7.4, and xdg-desktop-portal 1.22.1; the Input Capture permission prompt no longer appears for lan-mouse. It sounds like the request reaches Plasma but the portal authorization path is failing, so logs around xdg-desktop-portal and KWin seem like the most useful place to compare.

Bingo!

Using journalctl --follow to peer into the portal:

oû 14 18:57:09 nereid plasmashell[935]: qrc:/qt/qml/plasma/applet/org/kde/plasma/taskmanager/ToolTipDelegate.qml:63: TypeError: Cannot read property 'containsMouse' of null
aoû 14 18:57:09 nereid systemd[725]: Started Lan Mouse.
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z INFO  lan_mouse] using config: "/home/dryak/.config/lan-mouse/config.toml"
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z INFO  lan_mouse] Press [KeyLeftCtrl, KeyLeftShift, KeyLeftMeta, KeyLeftAlt] to release the mouse
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z INFO  lan_mouse::service] activated client 0 (right)
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z INFO  lan_mouse::emulation] creating input emulation ...
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z WARN  input_emulation] wlroots backend: `wayland protocol "wlr-virtual-pointer-unstable-v1" not supported: the requested global was not found in the registry`
aoû 14 18:57:09 nereid xdg-desktop-portal-kde[1291]: QQmlApplicationEngine failed to load component
aoû 14 18:57:09 nereid xdg-desktop-portal-kde[1291]: <Unknown File>: Module "org.kde.xdgdesktopportal" contains no type named "InputCaptureDialog"
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z INFO  input_emulation::libei] requesting permission for input emulation
aoû 14 18:57:09 nereid xdg-desktop-portal-kde[1291]: Only stream input
aoû 14 18:57:09 nereid lan-mouse[10337]: [2026-08-14T16:57:09Z INFO  input_emulation] using emulation backend: libei
aoû 14 18:57:09 nereid lan-mouse[10335]: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
aoû 14 18:57:12 nereid lan-mouse[10337]: [2026-08-14T16:57:12Z INFO  lan_mouse::listen] dtls client connected, ip: 10.68.89.3:39122

These two lines only happen on this machine:

aoû 14 18:57:09 nereid xdg-desktop-portal-kde[1291]: QQmlApplicationEngine failed to load component
aoû 14 18:57:09 nereid xdg-desktop-portal-kde[1291]: <Unknown File>: Module "org.kde.xdgdesktopportal" contains no type named "InputCaptureDialog"

In contrast the same sequence on an up-to-date OpenSUSE Tumbleweed x86_64 laptop:

aoû 14 19:00:08 boyan lan-mouse[1050360]: [2026-08-14T17:00:08Z INFO  input_capture] using capture backend: input-capture-portal
aoû 14 19:00:08 boyan xdg-desktop-portal-kde[42990]: Barrier 1 doesnt fill or on edge to another screen

The SPEC that compiles that RPM is here.

Those two xdg-desktop-portal-kde lines are the key: the portal cannot load InputCaptureDialog, so lan-mouse is reaching the portal but Plasma’s dialog component is missing.

Yup, just didn’t have the time (nor the experience) to dig around that specifically.

Those portal lines point to a missing KDE QML component, not a lan-mouse config problem. I’d compare the installed xdg-desktop-portal-kde package files against the update that introduced KWin 6.7.4.