Bug 501705

Summary: Only one portal window is interactable if multiple are open
Product: [Plasma] xdg-desktop-portal-kde Reporter: Arttu <arttuc>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kde, nate
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.4
Sentry Crash Report:
Attachments: Video of the screencast window being uninteractable with a filepicker in the background

Description Arttu 2025-03-18 20:47:54 UTC
Created attachment 179549 [details]
Video of the screencast window being uninteractable with a filepicker in the background

SUMMARY
If multiple portal windows are open at a time, only one is interactable.

Which one is interactable depends on the type; with file picker windows the latest one is interactable, but with screencast windows and having a file picker open in the background, the filepicker window is prioritized

STEPS TO REPRODUCE
1. Open a desktop portal filepicker from any application (Firefox with widget.use-xdg-desktop-portal.file-picker=1)
2. Open a screencast window from any application (ASHPD Demo -> Screen Cast)
3. Observe not being able to interact with the screencast window (the filepicker window is prioritized)

OBSERVED RESULT
Only one window is interactable

EXPECTED RESULT
Every window should be interactable

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Graphics Platform: Wayland
Comment 1 David Redondo 2025-04-11 08:00:40 UTC
This should now be fixed with the series at https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/373