SUMMARY The Android app tells me that it was unable to store the transfered file. I'm on Android 14 using KDE Connect 1.32.5. The desktop client is 21.12.3-0ubuntu1 (Ubuntu Jammy) STEPS TO REPRODUCE 1. Try to transfer a file from the desktop client to the Android client. OBSERVED RESULT Once the upload has finished, an Android notification appears that the file couldn't be stored. EXPECTED RESULT File should be stored, as it was the case before the ill-fated 1.32.4.
Seeming
The bug is most likely related to this change: https://invent.kde.org/network/kdeconnect-android/-/commit/38e713f489d455c36893eac2e87454d0b15640a0
How can you state that commit is related to the problem? Did you try to revert it? Would it be possible for you to test this commit? https://invent.kde.org/lcarlon/kdeconnect-android/-/commit/f262bbc3e0f658d4d13a6168dbb681e85bef10e9 Please note that I'm not a kdeconnect developer, so it is possible that my patch breaks something else, it is only intended as a test.
(In reply to Luca Carlon from comment #3) > How can you state that commit is related to the problem? Did you try to > revert it? I only scrolled through the commits and this was the most obvious one to me. > Would it be possible for you to test this commit? > https://invent.kde.org/lcarlon/kdeconnect-android/-/commit/ > f262bbc3e0f658d4d13a6168dbb681e85bef10e9 Unfortunately no - I could test APKs, but I'm unable to make builds. FWIW I also tried to delete and re-add the device pairing, but that didn't make a difference.
Apparently the KDE CI can help. In the artifacts there is the apk: https://invent.kde.org/lcarlon/kdeconnect-android/-/jobs/2172237. Would it be possible for you to test that?
I was just in the process of testing the APK (downloaded the archive to my Download folder), when I realised that the 1.32.5 transfers are actually stored. The only bug seems to be the notification, that it wasn't stored. Odd and embarassing that I didn't notice this earlier.
Can you confirm if the patch works for you? In that case I could submit the patch for review.
I tried to install it, but it the package installer says it conflicts with currently installed package (I do have unkown sources enabled and can install invidual APKs from F-Droid without any problems).
Yes, you need to uninstall the official version for the test.
Success with the debug version after removing the Playstore version: the error message is gone, instead it says successfully received (in my localized language) as it used to be. You can submit the patch for review. Sorry for the hassle with me: I am a alpha tester for an Android media player, where alpha APKs can be easily installed over the existing official Playstore version, hence my confusion.
The debug package is not probably signed with the same key. On the contrary, thank you for taking the time to help devs.
Git commit 551b089d9ae4602df5d251bbe63ccb9de4146748 by Albert Vaca Cintora, on behalf of Luca Carlon. Committed on 08/10/2024 at 15:48. Pushed by albertvaka into branch 'master'. Do not use FLAG_MUTABLE when targeting Android >= 34 M +2 -2 src/org/kde/kdeconnect/Plugins/SharePlugin/ReceiveNotification.java https://invent.kde.org/network/kdeconnect-android/-/commit/551b089d9ae4602df5d251bbe63ccb9de4146748