Bug 490509 - Annoying popup appearing every time that i connect a bluetooth controller
Summary: Annoying popup appearing every time that i connect a bluetooth controller
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-19 16:17 UTC by Patrick Canal
Modified: 2024-07-29 12:29 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
popup (17.75 KB, image/png)
2024-07-19 16:17 UTC, Patrick Canal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Canal 2024-07-19 16:17:30 UTC
Created attachment 171791 [details]
popup

SUMMARY
 An annoying popup appears every time that i connect a bluetooth controller, if i close it, it appears again after i press any button. (I am using a PS4 controller) 

STEPS TO REPRODUCE
1. Connect a PS4 controller
2. Press any button on the controller

OBSERVED RESULT
The popup appears again even if i check  the box that is supposed to remember my choice

EXPECTED RESULT
The popup should never appear again

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux arch 6.9.10-arch1-1
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Comment 1 David Redondo 2024-07-29 12:27:49 UTC
Showing the checkbox that does nothing  is a bug that is fixed by https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/4f82c43d4091abbd36a4e446d887344677e32d6a 

Showing the dialog is intentional, an application requests to use the RemoteDesktop portal to send input (I assume XWayland because XTest is used to emulate input for the controller). In the future we may add a setting so you can allow XWayland to do this without prompting
Comment 2 David Redondo 2024-07-29 12:29:16 UTC
I forgot to add, I tested this with my xbox controller, it prompts once and then not again because XWayland keeps the session around. Even I connect/disconnect my controller.