-
Notifications
You must be signed in to change notification settings - Fork 5
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
Items added through "Share Menu" are sometimes lost #14
Comments
I have revised the sharing functionality in version 2.5.1 Has it ever happened since then? I'm relatively sure this issue does not happen after the revision. |
I don't think I've seen it since! 😃 Out of curiosity, any ideas what could have been causing the issue in the old code? |
The close callback of the bottom sheet that pops up might not be called in all cases, for instance if another quick dynalist activity is started before the bar is closed. Unfortunately saving was done in this callback. |
So I experienced this issue again today running v2.5.1. I was also able to figure out the steps to reproduce, and can 100% reliably reproduce the issue. Repro steps:
I have a feeling this is a bad interaction between how YouTube handles the share menu with an actively playing video (i.e. switching view to a pop-up and returning to most recent app) and how Quick Dynalist relies on the activities to remain active. I tested this behavior on other sharing menu options, including Dynalist's native share feature, and none of them failed to "share/add" the item, so this appears to be fixable. Another important thing to note is that in Step 1 above, the other app that you open first (that will be reopened after sharing) does not need to be Dynalist. I was able to repro using many different apps. However, if you do not have ANY apps open, YouTube will punt you back to the homescreen (instead of the most recent app, as there are none), and the item is successfully added by Quick Dynalist! So it seems there's some issue with the main activity view being switched to a different app while the share code is running that's causing issues, since there is no issue when it just returns back to the home screen instead. |
Wow okay thanks for this great bug report and reproducibility. I assume I can only reproduce this with YouTube premium? |
I believe YouTube Picture-in-Picture is supported on all devices running a relatively new version of Android. I don't think it requires YouTube premium, but you may have to explicitly enable PiP in the settings. It could also be region specific and not available in your country (which would make this a lot harder for you to reproduce |
From YouTube support page (https://support.google.com/youtube/answer/7552722?co=GENIE.Platform%3DAndroid&hl=en):
This will certainly make this a lot trickier to fix. Let me know if there's any debug logs I can send over that could help. |
I've experienced a few times now where I used Android's built-in share menu to share a link/site/tweet/etc. to Quick Dynalist, however the link was never saved. I haven't been able to reproduce reliably, and it happens very rarely. However, the fact that it does occur sometimes has forced me to manually check the link was added every time I use this feature, or instead copy the share link to my clipboard and manually add it using the Quick Dynalist quick add dialog (which has never lost an item).
Since the last update I tried to repro the issue by sharing 5-10 links, and none of them were dropped. However since this occurred rarely, and it may have only occurred under specific conditions, I can't say for sure that this issue is now fixed.
@timediv have you seen this issue before? Have there been any changes to the share menu add code path that could have fixed this bug in the latest update?
The text was updated successfully, but these errors were encountered: