Skip to content
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

Share to newpipe menu does not open at first click on link #3129

Closed
aaazv opened this issue Feb 22, 2020 · 24 comments · Fixed by #9135
Closed

Share to newpipe menu does not open at first click on link #3129

aaazv opened this issue Feb 22, 2020 · 24 comments · Fixed by #9135
Labels
bug Issue is related to a bug device/software specific Issues that only happen on some devices or with some specific hardware/software template ignored The user didn't follow the template/instructions (or removed them)

Comments

@aaazv
Copy link

aaazv commented Feb 22, 2020

  • [no] I carefully read the contribution guidelines and agree to them.
  • [no ] I checked if the issue/feature exists in the latest version.
  • [ dont know what is] I did use the [incredible

Im not a pro user who knows much about bug report and etc.

A problem.

As I close every app as "kill foreground app", whenever I try to open a utube video with newpipe again, the video doesnt come the first time. the forst attempt, the app shows up on the default page, what ever it is, then u have to click on the link again to see the video in newpipe.
I checked this with official app and its not like this.
Can u fix this that even if the app is closed from the base, when it opens with a link, to go directly to the link and not to the main page?

I play videos, By searching a video in google and clicking on a vid coming up in search results. Then it asks me to open woth chrome or newpipe, I choose newpipe.

This way, first the app starts without showing the content I want and I have to click on the link again and it shows the vid as the app has started now.
This bothers a little.

Another thing is that the videos dont load sometimes and the rest of the time, load slower than other apps.

But still, its better than vanced or snaptube or original app. thanks.

@aaazv
Copy link
Author

aaazv commented Feb 22, 2020

My device is s10+ android 10.
But had the same issue with note 4 android 6.

So I believe its not related to device or android version

@Stypox
Copy link
Member

Stypox commented Feb 22, 2020

  • [no] I carefully read the contribution guidelines and agree to them.
  • [no ] I checked if the issue/feature exists in the latest version.

You should read the contribution guidelines and check whether the issue already exists before opening one.

Anyway, thank you for opening a detailed issue ;-)

@Stypox Stypox added the bug Issue is related to a bug label Feb 22, 2020
@aaazv
Copy link
Author

aaazv commented Feb 22, 2020

You welcome mate.
Its been a year that Ive been waiting for an update which fixes this.
As saw no results, thought maybe its better to post it here.

Will u try to fix it? :)

@Stypox
Copy link
Member

Stypox commented Feb 22, 2020

Could you provide the device model and OS?
Also, since I can't reproduce this it would be useful if you intercepted the "open" intent using "Intent Intercept": https://f-droid.org/app/de.k3b.android.intentintercept

@aaazv
Copy link
Author

aaazv commented Feb 23, 2020

I did, on the second msg

@Stypox
Copy link
Member

Stypox commented Feb 23, 2020

@aaazv could you provide the intent content from the app?

@aaazv
Copy link
Author

aaazv commented Feb 23, 2020

Alright.
Ive installed the app that u gave me the link of it.
Now how to do what u ask for?

@Stypox
Copy link
Member

Stypox commented Feb 24, 2020

Open the urls you wanted to open in newpipe and send them to that app instead, it should provide you some information

@aaazv
Copy link
Author

aaazv commented Feb 24, 2020

intent://m.youtube.com/watch?v=XGmBP33Cl-o#Intent;scheme=https;category=android.intent.category.BROWSABLE;launchFlags=0x17400000;i.org.chromium.chrome.browser.referrer_id=5;S.com.android.browser.application_id=com.android.chrome;end

ACTION: android.intent.action.VIEW
DATA: https://m.youtube.com/watch?v=XGmBP33Cl-o
URI: intent://m.youtube.com/watch?v=XGmBP33Cl-o#Intent;scheme=https;category=android.intent.category.BROWSABLE;launchFlags=0x17400000;i.org.chromium.chrome.browser.referrer_id=5;S.com.android.browser.application_id=com.android.chrome;end
CATEGORY:
android.intent.category.BROWSABLE
FLAGS:
FLAG_RECEIVER_FOREGROUND
FLAG_RECEIVER_BOOT_UPGRADE
FLAG_ACTIVITY_FORWARD_RESULT
FLAG_ACTIVITY_PREVIOUS_IS_TOP
FLAG_ACTIVITY_BROUGHT_TO_FRONT
EXTRAS:
1 Class: java.util.ArrayList
Key: org.chromium.chrome.browser.eenp
List:
org.schabi.newpipe
2 Class: android.net.Uri$StringUri
Key: android.intent.extra.REFERRER
Value: https://www.google.com/
3 Class: [B
Key: org.chromium.chrome.browser.user_gesture_token
4 Class: java.lang.Integer
Key: org.chromium.chrome.browser.referrer_id
Value: 5
5 Class: java.lang.String
Key: com.android.browser.application_id
Value: com.android.chrome


MATCHING ACTIVITIES:
NewPipe (org.schabi.newpipe - org.schabi.newpipe.RouterActivity)
Chrome (com.android.chrome - com.google.android.apps.chrome.IntentDispatcher)
ADM Browser (com.dv.adm - com.dv.get.WebBrow)
Snaptube (com.snaptube.premium - com.snaptube.premium.activity.LandingActivity)
Send to Navigation (com.vedmobile.sendtonavigation - com.vedmobile.sendtonavigation.MainActivity)

@aaazv
Copy link
Author

aaazv commented Feb 24, 2020

Have I done it right?
Im not sure if I have explained well what I exactly meant by reporting this bug.

Can u tell me if it was clear or not?

@aaazv
Copy link
Author

aaazv commented Feb 24, 2020

[Uploading 20200224_071244.mp4…](In this video, I've tried two times to open newpipe right after killing it from the base to show u what I mean.The third time, didnt kill the app. so as it was open, it loaded the video.

This doesnt happen with youtube original app and even if I kill the app from base, it loads the video correctly

@gkeegan
Copy link
Contributor

gkeegan commented Feb 24, 2020

Your video doesn't seem like it finished uploading btw.

@aaazv
Copy link
Author

aaazv commented Feb 24, 2020

Here is the video
https://gofile.io/?c=0CYYdy

@aaazv
Copy link
Author

aaazv commented Feb 25, 2020

@Stypox

Will this be fixed in the next update pls?

@Stypox
Copy link
Member

Stypox commented Feb 25, 2020

@aaazv I will try my best to fix this, but I can't reproduce as of now. Does something different happen if you change Settings -> Video & audio -> Preferred 'open' action to Always ask?

@aaazv
Copy link
Author

aaazv commented Feb 25, 2020 via email

@Stypox
Copy link
Member

Stypox commented Feb 26, 2020

Strange. If I understand correctly, by "Tried, no changes in the behavior." you mean that now the first time you open the link the app opens on the main page, and only on the second time it open the dialog for choosing an action.
I'm sorry, but I can't help. Unfortunately this does not happen on my end and the Intent you sent seems to be all good... This might be device-specific, even if it does happen on two of your devices.

But had the same issue with note 4 android 6.

Are you completely sure this does happen with 0.18.4 and Android 6? Because this could as well be an Android 10 bug, otherwise.

@aaazv

This comment has been minimized.

@Stypox Stypox changed the title Videos dont play at the first time Share to newpipe menu does not open at first click on link Apr 27, 2020
@Stypox Stypox added the device/software specific Issues that only happen on some devices or with some specific hardware/software label Apr 27, 2020
@opusforlife2
Copy link
Collaborator

@aaazv Can you test if this still happens on 0.20.0?

@aaazv
Copy link
Author

aaazv commented Oct 11, 2020

@opusforlife2 had unistalled the app but installed again to check if this bug is solved.
It doesnt work still.

Look. Im rooted ok? Ive made my back button to kill the app from background and foreground when I hold it. So when Im going to freshly open newpipe to watch a clicked link of youtube, what happens is that it goes to the main page of newpipe first. doesnt take me to the video that I clicked on its link so I have to click on the link twice in total to be able to watch the video on newpipe when newpipe wasnt running on background. While vanced isnt like this, original app isnt like this. whether I kill them from base, they open the video I want directly. easy.

@opusforlife2
Copy link
Collaborator

Wow, you don't need to bring out the big guns with the thumbs down and all, I'm just pruning old issues here. XD

@opusforlife2 opusforlife2 reopened this Oct 11, 2020
@aaazv
Copy link
Author

aaazv commented Oct 12, 2020 via email

@litetex litetex added the template ignored The user didn't follow the template/instructions (or removed them) label Nov 23, 2021
@Stypox
Copy link
Member

Stypox commented Nov 29, 2022

@aaazv can you test if this APK (from #9135) fixes the issue?

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Nov 30, 2022
@github-actions
Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@opusforlife2 opusforlife2 removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug device/software specific Issues that only happen on some devices or with some specific hardware/software template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
5 participants