Bug 504867

Summary: KDE Connect for Android unable edit the device name with white-spaces
Product: [Applications] kdeconnect Reporter: Jason Kwok <kde-bugs>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes, azad.aquib, szijartoleventepal
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jason Kwok 2025-05-27 14:32:38 UTC
SUMMARY

In the older versions of KDE Connect for Android, you're able to edit the device name with white-spaces, now I can't.

STEPS TO REPRODUCE

1. Navigate to Settings 
2. Click "Device Name"
3. Type spaces to it, like "Jason Awesome Phone"

OBSERVED RESULT

Spaces was missing, i.e. "JasonAwesomePhone"

EXPECTED RESULT

The device name was set as expected, i.e. "Jason Awesome Phone"

SOFTWARE/OS VERSIONS

Android Version: 15
KDE Connect Version: 1.33.4

ADDITIONAL INFORMATION
Comment 1 Levente Pál Szíjártó 2025-07-02 07:43:32 UTC
I am having a similar issue, though different behaviour (on the same app version).

My default device name already had a white-space in it (‘Pixel 4a’), which, when left untouched, gets saved correctly. However, I am unable to enter any additional spaces into the text field: pressing the Space key or pasting a white-space character does nothing.

Device: Google Pixel 4a
Android version: 14 (PixelBuilds custom ROM)
KDE Connect version: 1.33.4
Keyboard: Gboard 15.5.8.766552071-beta-arm64-v8a
Comment 2 Mohammed Aquib Azad 2025-07-14 19:18:18 UTC
I tried this, but I am not able to reproduce this on my debug build. I am able to change the name in Pixel 7 Pro with white spaces, but on my Samsung with device name SM-**** it does not allow for white space characters. Once I am able to reproduce this I should be able to fix it.