STEPS TO REPRODUCE 1. open KDE Connect KCM via KDE Connect applet in system tray 2. 3. OBSERVED RESULT KDE Connect KCM opens in a standalone window with Wayland generic icon in the title bar on Wayland session EXPECTED RESULT other KCMs launched via their respective applets in the system tray open inside System Settings. The same should occur with KDE Connect KCM. SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.3 Graphics Platform: Wayland
It would be easy enough to make the applet run KCMshell.openSystemSettings("kcm_kdeconnect.desktop"), but currently it calls out to a common C++ function, so that should be changed instead, in https://invent.kde.org/network/kdeconnect-kde/-/blob/master/core/daemon.cpp#L336. Currently it just uses QProcess::startDetached(); BooOOoooOoOoooooooooo
The standalone window is there so we can use the KCM on Windows, MacOS, Gnome... I'm not against opening System Settings as long as we have a check to only do it when running Plasma.
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/576
Git commit c5b955fe10173d390150ceeee8d15b64894fc167 by Albert Vaca Cintora, on behalf of Phani Pavan Kambhampati. Committed on 30/07/2023 at 09:30. Pushed by albertvaka into branch 'master'. Changed KCM to launch in system settings KCM used to open in a separate window, changed that behaviour to launch in system settings when launched via the plasmoid. M +1 -1 plasmoid/package/contents/ui/FullRepresentation.qml M +1 -1 plasmoid/package/contents/ui/main.qml https://invent.kde.org/network/kdeconnect-kde/-/commit/c5b955fe10173d390150ceeee8d15b64894fc167