Right now the tray icon is passive when there's no connection, and active when there is a connection. This is unnecessary because when there is a connection, the portal *also* shows a tray icon, which offers more information too. It's awkward to have multiple system tray icons for the same thing.
Personally I'd rather get rid of the portal SNI and enhance the server SNI a bit. The portal SNI doesn't even indicate *which* application requested access, whereas we can show stuff like which client is connected in the server SNI. Also note that the one action from the portal SNI doesn't quit the server, it just breaks whatever active connection is there.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/krdp/-/merge_requests/39
Git commit a4f25f535035601cb11cf7d494d15e5c675a0d10 by Nate Graham, on behalf of Akseli Lahtinen. Committed on 13/06/2024 at 14:32. Pushed by ngraham into branch 'master'. SessionController: remove SNI status; keep it always passive Since the portal SNI is the one indicating if connection is active or not, remove the SNI status. No need for two SNIs to be active. Ideally we only would have one anyway, but this a workaround until we can reuse the SNI for the portal status as well. FIXED-IN: 6.1.1 M +0 -26 server/SessionController.cpp https://invent.kde.org/plasma/krdp/-/commit/a4f25f535035601cb11cf7d494d15e5c675a0d10
Git commit e778e26588862e1cda0f40e70f92c21481b70675 by Nate Graham. Committed on 13/06/2024 at 14:33. Pushed by ngraham into branch 'Plasma/6.1'. SessionController: remove SNI status; keep it always passive Since the portal SNI is the one indicating if connection is active or not, remove the SNI status. No need for two SNIs to be active. Ideally we only would have one anyway, but this a workaround until we can reuse the SNI for the portal status as well. FIXED-IN: 6.1.1 (cherry picked from commit a4f25f535035601cb11cf7d494d15e5c675a0d10) 75114bbd SessionController: remove sni status, keep it always passive Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev> M +0 -26 server/SessionController.cpp https://invent.kde.org/plasma/krdp/-/commit/e778e26588862e1cda0f40e70f92c21481b70675