-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.16.0 RC2] Stuck at downloading 100% #8308
Comments
Related to #8189 |
The 3.16.0 release just came along and I'm experiencing this bug now on Samsung A41/Android 10/OneUI 2.5. |
Same here with 3.16.0 on Samsung S10/Android 11/OneUI 3.1 |
Same problem Android 11 on Google Pixel 3, everything up to date. |
Same problem on an Android 11, One UI 3.1 up to date Samsung Galaxy A50, Nextcloud version 3.16.0. |
I am also facing this issue on Android 11, pixel 2 xl, nextcloud client 3.16. Until this is fixed is there any workaround to get rid of that notification without having to reboot? |
@dakontiva rebooting only helps until the next download anyway. I had to disable Nextcloud notifications completely in Android settings. @tobiasKaminsky have you seen us? |
You can disable just the "Download notification channel" under the notification settings (in the Android settings menu) for Nextcloud @dakontiva this way you won't see the download notifications anymore. |
This issue seems to be caused by the removal of these lines which cancelled the notification when the download had ended: android/src/main/java/com/owncloud/android/files/services/FileDownloader.java Lines 621 to 623 in fe42bb7
In the old code the notification was always cancelled and then a new notification created if an error needed to be displayed. edit: I just thought, maybe the intention behind removing the notification cancel was so that the user would later be able to see what files had downloaded in the background. In which case the notification would need |
Same here OnePlus 5t, app version 3.16.0 |
@af7567 the changes are #7949 and #8187 and might still need some edge cases to cover to work properly. The reason we changed it is what you discribed "notification spamming" when you upload a lot of files which. @newhinton might be able to provide some insight. |
I did wonder if it was to do with multiple file downloads when I looked at it a bit more. I also found that the code to cancel the notification is still there, it has just been moved to the android/src/main/java/com/owncloud/android/files/services/FileDownloader.java Lines 426 to 431 in c538e52
I stuck a log message in the code just before line 426 and can see from logcat that 2 seconds doesn't pass before it gets destroyed.
I tried adding a 3 second delay to |
Not a big expert in lifecycles, halting |
Same here on Galaxy S20 FE |
Same in my Samsung A51, Android 11, nextcloud 3.16.0 Anyhow I'd like to mention I did not start any download but have the situation described above from different users |
Same here on Samsung S10, Android 11 (1st of April security patches), OneUI 3.1 and Nextcloud 3.16.0. Killing the app to get rid of the notification and starting again helps ;) |
Same here. Meanwhile we have 3.16.1 but this annoying bug is still there... |
@sciurius you can use a Task manager (I use 3C) to kill nextcloud rather than reboot as a workaround till the fix goes live. |
I may have a solution, moving the stopForeground method into the handler. In theory this should allow the service to clean up properly without breaking itself. However, since it is the background version that does not work, it is rather hard to test, so i will see in a couple hours/days if it worked |
I have used my code for a while now, and it seems to be solved. I will now open a pr to get it fixed! |
Issue is still present in Nextcloud App Version 3.16.1 Steps to reproduce:
|
As I understand it, this comes in version 3.17.0 (according to the milestone of this issue) or 3.18 (according to the merge request that closed the issue) |
I can confirm I still have undismissable notifications as of 3.17.0 so i'd say it's for 3.18.0. |
I canceled a sync in progress because it was so damn slow and now I have this persistent notification. There should be a menu that shows all "synced" folders and have an option to unsync it. I have to reset my client now. :/ |
Confirming fixed in 3.17.0 |
Don't know if this is a separate issue, but i am experiencing a similar problem. Sometimes I get a persistent notification saying the download progress is 100% completed When clicking the notification, this is the about from
Notice the line
The download was initiated by: https://f-droid.org/packages/com.kunzisoft.keepass.libre/ (password manager app) System infonextcloud client: v3.28.0, from f-droid |
I´m experiencing the same issue as @Sveske-Juice on the most recent version of the android app |
Using Nextcloud together with Keepass files (.kdbx) is a popular use case, isn't it? I got that issue too. |
Steps to reproduce
Expected behaviour
Actual behaviour
Can you reproduce this problem on https://try.nextcloud.com?
I don't think it is server related.
Environment data
Android version: 10
Device model: Samsung Galaxy Note S4
Stock or customized system: Stock.
Nextcloud app version: 3.16.0 RC2.
Nextcloud server version: 21.0.1
The text was updated successfully, but these errors were encountered: