Bug 494002 - KDE Connect will crash constantly after pairing a device
Summary: KDE Connect will crash constantly after pairing a device
Status: RESOLVED DUPLICATE of bug 493958
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: 24.08.1
Platform: Android Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-02 22:53 UTC by Real Name
Modified: 2024-10-03 01:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
logcat (12.00 KB, text/plain)
2024-10-02 22:53 UTC, Real Name
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***