Phone Connect Plugin Redesign
Compositor
Niri
Distribution
Fedora
Select your Installation Method
DankInstaller
Was your original Installation method different?
Yes
Description
Hey I Am Redesigning Phone Connect Plugin Here Is What I have Reached Till Now Any Suggest From Community What Else Should Be Improved Or Changed.
Screenshots/Recordings
Reference For New Design
Looks pretty cool!
Looks really good.
@Purian23 @banicans This Is Final version Any Comments
https://github.com/user-attachments/assets/417c94c3-5aba-45f2-9c1b-eff06c4db2ba
@JDKamalakar I think UI-wise it looks great, but the UX needs a bit more refinement. For example, I expect "Recent Images" to be at the bottom of the popout instead of in between; when a user clicks the button, they expect the content to appear somewhere near that button, not below the recent images section.
@JDKamalakar I think UI-wise it looks great, but the UX needs a bit more refinement. For example, I expect "Recent Images" to be at the bottom of the popout instead of in between; when a user clicks the button, they expect the content to appear somewhere near that button, not below the recent images section.
Okay thanks for the suggestion, The Reason It Was In Center I Was Replicating UI From ChromeOS (Not Entirely) In That Recent Images Are in center & apps are below it So I That Share & Messages Module Should Be Below The Images What You Said Makes More Sense.
@JDKamalakar Thanks for working on the DankKDEConnect improvements. I tested the version from https://github.com/JDKamalakar/dms-plugins-official/tree/master/DankKDEConnect locally and ran into a few issues:
- This version uses Qt5Compat.GraphicalEffects, but DMS does not seem to depend on that module by default. On systems without the required Qt component installed, the plugin may fail to load.
- The animations for the Share and SMS panels seem to be implemented with fixed timings inside the plugin. They do not appear to follow the global DMS animation settings, so they still play even when animations are disabled globally.
- When opening the Share or SMS panel, the inner panel animation is not synchronized with the outer KDE Connect container resizing. For example, after clicking SMS, the SMS form expands faster than the outer window, so during the transition it briefly extends outside the container before the outer window catches up.
@JDKamalakar Thanks for working on the DankKDEConnect improvements. I tested the version from https://github.com/JDKamalakar/dms-plugins-official/tree/master/DankKDEConnect locally and ran into a few issues:
- This version uses Qt5Compat.GraphicalEffects, but DMS does not seem to depend on that module by default. On systems without the required Qt component installed, the plugin may fail to load.
- The animations for the Share and SMS panels seem to be implemented with fixed timings inside the plugin. They do not appear to follow the global DMS animation settings, so they still play even when animations are disabled globally.
- When opening the Share or SMS panel, the inner panel animation is not synchronized with the outer KDE Connect container resizing. For example, after clicking SMS, the SMS form expands faster than the outer window, so during the transition it briefly extends outside the container before the outer window catches up.
Hey 1st & 2nd are fixed on my local version but are not pushed to github, I am bit bussy.
I also noticed two usability issues:
- If a feature is unavailable on either the local device or the connected device, the corresponding action button should be disabled and visually greyed out. Right now the button can still be clicked, which makes it look available even when it is not.
- The previous version allowed sending the clipboard directly with one button. This was a common and convenient action, but this version seems to have removed that entry point. It would be nice to keep it available.
- If a feature is unavailable on either the local device or the connected device, the corresponding action button should be disabled and visually greyed out. Right now the button can still be clicked, which makes it look available even when it is not.
I previously tested KDE Connect’s feature availability/state sync with media playback as an example. In that test, I played music on my phone and then disabled the media control permission on the phone side. Ideally, KDE Connect would update the feature availability and related state correctly, but it did not seem to do that: the media status exposed to the desktop side still remained as playing, which I confirmed through D-Bus debugging.
So I am not sure how reliably this can be handled from the plugin side.
I also noticed two usability issues:
- If a feature is unavailable on either the local device or the connected device, the corresponding action button should be disabled and visually greyed out. Right now the button can still be clicked, which makes it look available even when it is not.
- The previous version allowed sending the clipboard directly with one button. This was a common and convenient action, but this version seems to have removed that entry point. It would be nice to keep it available.
I also noticed two usability issues:
- If a feature is unavailable on either the local device or the connected device, the corresponding action button should be disabled and visually greyed out. Right now the button can still be clicked, which makes it look available even when it is not.
- The previous version allowed sending the clipboard directly with one button. This was a common and convenient action, but this version seems to have removed that entry point. It would be nice to keep it available.
I removed clipboard option as kde connect has option to sync clipboard aka when anything is copied it will show up on mobile & vice a versa but for you I'll add option to toggle this option in settings.
- If a feature is unavailable on either the local device or the connected device, the corresponding action button should be disabled and visually greyed out. Right now the button can still be clicked, which makes it look available even when it is not.
I previously tested KDE Connect’s feature availability/state sync with media playback as an example. In that test, I played music on my phone and then disabled the media control permission on the phone side. Ideally, KDE Connect would update the feature availability and related state correctly, but it did not seem to do that: the media status exposed to the desktop side still remained as playing, which I confirmed through D-Bus debugging.
So I am not sure how reliably this can be handled from the plugin side.
Hey you can try out new changes i have updated git version with almost all the fixies changes that i want to implement only few are left that have not completed with testing.
I tested it again and found the following issues:
- The Qt5Compat.GraphicalEffects dependency has not actually been removed. DMS does not depend on it by default, so the plugin will fail on systems where that dependency is missing.
- Capability detection is broken when using the Valent backend.
Consider adding a feature to specify a preferred backend. Currently, KDE Connect is prioritized by default; allowing users to explicitly prioritize Valent could be beneficial for testing purposes, as it appears that—when KDE Connect is present—the plugin sometimes actively triggers the KDE Connect backend in certain scenarios.
I did some further testing and found a few more issues:
-
The plugin does not properly distinguish between device types. Desktop/laptop devices are still shown with a phone-oriented view and phone-specific fields such as battery, signal strength, and network type, which results in those fields showing as
Unknown. -
Battery and charging status updates do not seem to be real-time. KDE Connect's own tray indicator updates promptly, but the plugin state often lags behind.
-
The notification count always shows
0. The phone currently has active notifications, and KDE Connect exposes them through D-Bus active notifications, but the plugin UI does not appear to count them correctly. -
The
Max Recent Imagesslider in the settings page captures mouse wheel events unexpectedly. When scrolling through the plugin settings list, if the cursor happens to pass over that slider, it changes the image count setting instead of only scrolling the page. -
The older
DeviceCardused in the device switcher does not reuse the same capability gating logic as the new main action row. Some actions remain clickable/highlighted even when the current device does not support them, so the availability behavior is inconsistent across the plugin UI. -
After enabling
Show Clipboard Quick Action, the top action row no longer lays out correctly. TheSwitch Deviceicon can overflow outside the container, and the action row is no longer visually centered. -
The new clipboard quick action uses the
content_copyicon, while the older device card clipboard action usescontent_paste. The two icons communicate slightly different meanings, so this may make the action look like "copy" rather than "send clipboard". -
It may be worth adding keyboard navigation support. For example, after opening the panel, keyboard shortcuts could switch between devices. After opening the Share panel,
Tabcould move focus between the input field, send button, and other controls. A single-key shortcut such asSfor Share could also be considered.
- Qt5Compat.Graphical
I didn't understand second point can you elebrote properly, also Qt5Compat.Graphical, is not used anywhere just left as import statement (forgot to remove).
I did some further testing and found a few more issues:
- The plugin does not properly distinguish between device types. Desktop/laptop devices are still shown with a phone-oriented view and phone-specific fields such as battery, signal strength, and network type, which results in those fields showing as
Unknown.- Battery and charging status updates do not seem to be real-time. KDE Connect's own tray indicator updates promptly, but the plugin state often lags behind.
- The notification count always shows
0. The phone currently has active notifications, and KDE Connect exposes them through D-Bus active notifications, but the plugin UI does not appear to count them correctly.- The
Max Recent Imagesslider in the settings page captures mouse wheel events unexpectedly. When scrolling through the plugin settings list, if the cursor happens to pass over that slider, it changes the image count setting instead of only scrolling the page.- The older
DeviceCardused in the device switcher does not reuse the same capability gating logic as the new main action row. Some actions remain clickable/highlighted even when the current device does not support them, so the availability behavior is inconsistent across the plugin UI.- After enabling
Show Clipboard Quick Action, the top action row no longer lays out correctly. TheSwitch Deviceicon can overflow outside the container, and the action row is no longer visually centered.- The new clipboard quick action uses the
content_copyicon, while the older device card clipboard action usescontent_paste. The two icons communicate slightly different meanings, so this may make the action look like "copy" rather than "send clipboard".- It may be worth adding keyboard navigation support. For example, after opening the panel, keyboard shortcuts could switch between devices. After opening the Share panel,
Tabcould move focus between the input field, send button, and other controls. A single-key shortcut such asSfor Share could also be considered.
I'll Look into it.
I didn't understand second point can you elebrote properly, also Qt5Compat.Graphical, is not used anywhere just left as import statement (forgot to remove).
These features are restricted to unavailable, but in reality, they are all available; the available feature status does not appear to be updated to the final state.
I'll Look into it.
I look forward to your further optimizations.
I didn't understand second point can you elebrote properly, also Qt5Compat.Graphical, is not used anywhere just left as import statement (forgot to remove).
These features are restricted to unavailable, but in reality, they are all available; the available feature status does not appear to be updated to the final state.
I'll Look into it.
I look forward to your further optimizations.
Hey I Pushed New Version, Vallet one is not done. Try it out somethings might not be done as there were too many in multiple comments so it become harder for tracking.
Thank you for the update. I tested it again and saw many improvements and optimizations, but I also found the following issues:
-
Unable to remove custom images after adding them.
-
The device type placeholder images for Laptop and PC seem too wide, taking up too much space. Perhaps they should be adjusted.
-
Making the device type placeholder image an optional toggle might be more suitable. I know this area is linked to the ping function; this might need to be addressed.
-
For some reason, my notification count is consistently 2, even after removing all notifications on my phone (including persistent notifications). Refreshing and reloading are ineffective.
-
The logs contain a lot of logs unrelated to normal use. That is, every time the status is refreshed, the availability of many functions is checked. The unavailability status corresponding to this check will cause some pollution to the entire DMS log (e.g.,
ERROR go: DMS API Error: id=1780653509991 error=failed to get properties: No such object path '/modules/kdeconnect/devices/_<uuid>_/mprisremote'). Perhaps it would be more appropriate to change it to debug level logs or remove the logs altogether. -
Due to the lack of signal strength information for PCs, the status area has significant white space, making it look slightly odd (but functional). Supporting disabling the display of placeholder images to optimize the layout might be better (this is just one solution, and may not be the ideal one).
-
The device switching animation is too slow (but closing is fast), and it's currently unaffected by animation speed settings in DMS.
-
After enabling DMS's animation, clicking on device switching or other operations causes window anomalies, as shown in the image.
Thank you for the update. I tested it again and saw many improvements and optimizations, but I also found the following issues:
- Unable to remove custom images after adding them.
- The device type placeholder images for Laptop and PC seem too wide, taking up too much space. Perhaps they should be adjusted.
- Making the device type placeholder image an optional toggle might be more suitable. I know this area is linked to the ping function; this might need to be addressed.
- For some reason, my notification count is consistently 2, even after removing all notifications on my phone (including persistent notifications). Refreshing and reloading are ineffective.
- The logs contain a lot of logs unrelated to normal use. That is, every time the status is refreshed, the availability of many functions is checked. The unavailability status corresponding to this check will cause some pollution to the entire DMS log (e.g.,
ERROR go: DMS API Error: id=1780653509991 error=failed to get properties: No such object path '/modules/kdeconnect/devices/_<uuid>_/mprisremote'). Perhaps it would be more appropriate to change it to debug level logs or remove the logs altogether.- Due to the lack of signal strength information for PCs, the status area has significant white space, making it look slightly odd (but functional). Supporting disabling the display of placeholder images to optimize the layout might be better (this is just one solution, and may not be the ideal one).
- The device switching animation is too slow (but closing is fast), and it's currently unaffected by animation speed settings in DMS.
- After enabling DMS's animation, clicking on device switching or other operations causes window anomalies, as shown in the image.
![]()
- Unable to reproduce it, But will look into it.
- It is intentional, but i'll try it with smaller version but if doesn't look good I'll keep current size.
- Although Not To my liking but it will be nice to have such a toggle so i'll implement it.
- Unable to Reproduce it, But I'll look if there anything i can do.
- I'll do some rework on it.
- I think better solution would be if there are any row unavailable, It should reduce size of the container (Specifically for laptop & PC version as this images are horizontal).
- Will be Fixed.
- Unable to Reproduce it, But I'll Look Into It.
Hey Can you check if there is any other issue when using multiple devices as i don't multiple devices to test. Specifically device Persistence & switching.
Hey Can you check if there is any other issue when using multiple devices as i don't multiple devices to test. Specifically device Persistence & switching.
On Android, you can clone an app to achieve multi-device connectivity. In my testing, the main issue with device switching was the animation problem mentioned above; no other problems were found so far.
These features are restricted to unavailable, but in reality, they are all available; the available feature status does not appear to be updated to the final state.
