Bug 494002

Summary: KDE Connect will crash constantly after pairing a device
Product: [Applications] kdeconnect Reporter: Real Name <zuurveldt>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andrew.g.r.holmes, pennyjim6
Priority: NOR    
Version: 24.08.1   
Target Milestone: ---   
Platform: Android   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: logcat

Description Real Name 2024-10-02 22:53:46 UTC
Created attachment 174343 [details]
logcat

SUMMARY
KDE Connect refuses to launch on LineageOS 21 (Android 14), logcat at the moment of the crash boils down to "java.lang.SecurityException: Settings key: <enabled_input_methods> is only readable to apps with targetSdkVersion lower than or equal to: 33"

STEPS TO REPRODUCE
1. Install KDE connect
2. Pair it with my desktop
3. It won't open anymore, Android says it's "crashing constantly"

SOFTWARE/OS VERSIONS
KDE Plasma Version:  6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Things I tried:
- Reinstall app
- Manually allow KDE Connect's remote keyboard in the settings
- adb shell ime enable org.kde.kdeconnect_tp/org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardService
- disable virtual input
- preemptively allowing all of the permissions the app asks

I have absolutely no idea what went wrong as it was working yesterday.
Comment 1 Real Name 2024-10-02 22:56:35 UTC
Android app version is 1.32.4
Comment 2 Real Name 2024-10-02 23:41:20 UTC
I could work around the instability by disabling Bigscreen Remote, Mouse Receiver, Presentation Remote and Receive Remote Keypresses on the phone before it starts to crash. After I pair the phone it says "device not available", then if you refresh the page without disabling the previous plugins it enters the infinite crash loop.
Comment 3 Penny Jim 2024-10-03 01:53:18 UTC
Can confirm the crash is happening. Using version 1.32.4 - Play Store
I also use the GNOME extension GSConnect: https://extensions.gnome.org/extension/1319/gsconnect/
but that doesn't sound relevant considering the SecurityException Real Name mentioned.

I found the app crashing whenever I opened it, and disabling Real Name's listed plugins stopped that.
I'm kinda miffed about it as I had to purge storage and now have to set my settings up again.
Comment 4 Penny Jim 2024-10-03 01:55:14 UTC
Ah noticed the other posts now

*** This bug has been marked as a duplicate of bug 493958 ***