Created attachment 172399 [details] Remote control requested This portal dialog shows up as soon as I log on. There is no explanation and no understanding for why it is here or why these permissions should be given. This is confusing for me, and I can't imagine how confusing and scary it might be for less tech-savvy users.
Do you have the KRDP server turned on? What apps do you have set to autostart?
Yes, the Remote Desktop page shows the RDP server is turned on. But I can't remember ever turning it on, and the Server Settings claim the «Autostart on login» is off – and the checkbox is disabled anyway. Autostart only contains Telegram (as a Flatpak) and Yakuake. I've just turned off the RDP server and I'll do a restart now to check.
Alright. Turns out this is indeed caused by Remote Desktop. It seems it turns itself on automatically at restart, and does not respect being turned off. If I turn off Remote Desktop the portal dialog immediately disappear. But as it is turned on again by next restart the dialog pops up again. If the dialogue is an intended behavior when Remote Desktop is on I would strongly suggest we add some more descriptive text to it. But the RDP server should of course also stay off if it was turned off. :P
Nor is it possible to see on the Remote Desktop page if permissions were not granted.
*** Bug 491549 has been marked as a duplicate of this bug. ***
Why is this a xdg-desktop-portal-kde bug? If an app starts a session we show the dialog. We show all the info we can, in this case xdg-desktop-portal seemingly didnt provide an app-id. If we think an app does it wrong, we need to look at that app