| Summary: | Terminating an incoming RDP connection fails to make the tray icons notifying you about it disappear | ||
|---|---|---|---|
| Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Nate Graham <nate> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, aleixpol, jgrulich, nate |
| Priority: | NOR | ||
| Version First Reported In: | git-master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/krdp/-/commit/058e2bde9167103adbeb95303fd01cfa240e107e | Version Fixed/Implemented In: | 6.1.0 |
| Sentry Crash Report: | |||
|
Description
Nate Graham
2024-06-11 15:53:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/krdp/-/merge_requests/36 Git commit 090d741331b84462530b9d307d31a482cfd68973 by Arjen Hiemstra. Committed on 12/06/2024 at 11:12. Pushed by ahiemstra into branch 'master'. server: Properly cleanup SessionWrapper objects Since we're storing the connection as a QPointer comparing the destroyed connection to the stored connection doesn't work since the QPointer is already cleared at the point the connection has been destroyed. We don't really want to track the connection anyway, we want to track the wrapper. So make the wrapper emit a signal on connection loss that we use to cleanup the wrapper. Related: bug 488364 M +15 -14 server/SessionController.cpp M +0 -1 server/SessionController.h https://invent.kde.org/plasma/krdp/-/commit/090d741331b84462530b9d307d31a482cfd68973 Git commit 058e2bde9167103adbeb95303fd01cfa240e107e by Arjen Hiemstra. Committed on 13/06/2024 at 09:44. Pushed by ahiemstra into branch 'Plasma/6.1'. server: Properly cleanup SessionWrapper objects Since we're storing the connection as a QPointer comparing the destroyed connection to the stored connection doesn't work since the QPointer is already cleared at the point the connection has been destroyed. We don't really want to track the connection anyway, we want to track the wrapper. So make the wrapper emit a signal on connection loss that we use to cleanup the wrapper. Related: bug 488364 (cherry picked from commit 090d741331b84462530b9d307d31a482cfd68973) M +15 -14 server/SessionController.cpp M +0 -1 server/SessionController.h https://invent.kde.org/plasma/krdp/-/commit/058e2bde9167103adbeb95303fd01cfa240e107e |