https://bugs.kde.org/show_bug.cgi?id=527555

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/krdp/-/commit/36ab49470d
                   |                            |a552c76f651838aaee4d7032610
                   |                            |041
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from David Edmundson <[email protected]> ---
Git commit 36ab49470da552c76f651838aaee4d7032610041 by David Edmundson.
Committed on 24/10/2026 at 08:28.
Pushed by davidedmundson into branch 'Plasma/6.8'.

PortalSession: listen for the portal response before making the request

PortalRequest connected to the Response signal only after the method
call returned. The portal can send Response before that, and the
signal is then dropped: the session never starts and the client sees
no picture. On a Raspberry Pi 5 in RemoteAccess mode this happened in
about one connection out of five, at CreateSession or SelectDevices.

Listen on the request path derived from the handle token before the
call, as the portal documentation recommends, and pass a handle token
to SelectSources too. Fall back to the returned path for portals that
don't derive it from the token.


(cherry picked from commit 07dc3d12894e131dcfafcf2a846073e8a5ce7d98)

Co-authored-by: Matteo Beretta <[email protected]>

M  +44   -13   src/PortalSession.cpp
M  +15   -7    src/PortalSession_p.h

https://invent.kde.org/plasma/krdp/-/commit/36ab49470da552c76f651838aaee4d7032610041

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to