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

Slow to open #2678

Closed
heberjeur opened this issue Oct 1, 2019 · 19 comments
Closed

Slow to open #2678

heberjeur opened this issue Oct 1, 2019 · 19 comments

Comments

@heberjeur
Copy link

heberjeur commented Oct 1, 2019

Hello, the application becomes too much slow specially when i enter to the video and to return back, it happens when i added many channels to the principal interface

Screenshot_20191001-083401

Screenshot_20191001-081001

@Stypox Stypox added bug Issue is related to a bug GUI Issue is related to the graphical user interface labels Oct 3, 2019
@wb9688
Copy link
Contributor

wb9688 commented Apr 23, 2020

Could you test this with the APK from #3201? There it should only load tabs when they're visible or next to a visible tab, instead of all tabs. If that APK fixes the issue, I'll make a separate PR just for that.

@heberjeur
Copy link
Author

I try it, it can't open videos, my phone is huawei y7 prime 2019, my internet 4mo,i have 15 tabs in the main screen
I have recorded this video
https://youtu.be/i7vGc6-83dI

@wb9688
Copy link
Contributor

wb9688 commented Apr 23, 2020

@heberjeur: Could you post the crash report here? Btw did it fix the tab problem?

@heberjeur
Copy link
Author

It works when I have returned to the default tabs

@heberjeur
Copy link
Author

{
"user_action": "ui error",
"request": "App crash, UI failure",
"content_language": "fr_TN",
"service": "none",
"package": "org.schabi.newpipe.debug.tabs",
"version": "0.18.6",
"os": "Linux HUAWEI/DUB-L41/HWDUB-Q:8.1.0/HUAWEIDUB-LX1/155(C185):user/release-keys 8.1.0 - 27",
"time": "2020-04-23 20:53",
"exceptions": [
"java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 568008 bytes\n\tat android.app.ActivityThread$StopInfo.run(ActivityThread.java:4719)\n\tat android.os.Handler.handleCallback(Handler.java:809)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loop(Looper.java:166)\n\tat android.app.ActivityThread.main(ActivityThread.java:7555)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963)\nCaused by: android.os.TransactionTooLargeException: data parcel size 568008 bytes\n\tat android.os.BinderProxy.transactNative(Native Method)\n\tat android.os.BinderProxy.transact(Binder.java:769)\n\tat android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:4652)\n\tat android.app.ActivityThread$StopInfo.run(ActivityThread.java:4703)\n\t... 7 more\nandroid.os.TransactionTooLargeException: data parcel size 568008 bytes\n\tat android.os.BinderProxy.transactNative(Native Method)\n\tat android.os.BinderProxy.transact(Binder.java:769)\n\tat android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:4652)\n\tat android.app.ActivityThread$StopInfo.run(ActivityThread.java:4703)\n\tat android.os.Handler.handleCallback(Handler.java:809)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loop(Looper.java:166)\n\tat android.app.ActivityThread.main(ActivityThread.java:7555)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963)\n"
],
"user_comment": ""
}

@wb9688
Copy link
Contributor

wb9688 commented Apr 23, 2020

@heberjeur: Hmm… I don't have that issus myself, though I'll look into that later. I could make an APK for you to test with just the fix for this issue tomorrow.

@heberjeur
Copy link
Author

{
"user_action": "ui error",
"request": "App crash, UI failure",
"content_language": "fr_TN",
"service": "none",
"package": "org.schabi.newpipe.debug.tabs",
"version": "0.18.6",
"os": "Linux HUAWEI/DUB-L41/HWDUB-Q:8.1.0/HUAWEIDUB-LX1/155(C185):user/release-keys 8.1.0 - 27",
"time": "2020-04-23 21:26",
"exceptions": [
"java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 585232 bytes\n\tat android.app.ActivityThread$StopInfo.run(ActivityThread.java:4719)\n\tat android.os.Handler.handleCallback(Handler.java:809)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loop(Looper.java:166)\n\tat android.app.ActivityThread.main(ActivityThread.java:7555)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963)\nCaused by: android.os.TransactionTooLargeException: data parcel size 585232 bytes\n\tat android.os.BinderProxy.transactNative(Native Method)\n\tat android.os.BinderProxy.transact(Binder.java:769)\n\tat android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:4652)\n\tat android.app.ActivityThread$StopInfo.run(ActivityThread.java:4703)\n\t... 7 more\nandroid.os.TransactionTooLargeException: data parcel size 585232 bytes\n\tat android.os.BinderProxy.transactNative(Native Method)\n\tat android.os.BinderProxy.transact(Binder.java:769)\n\tat android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:4652)\n\tat android.app.ActivityThread$StopInfo.run(ActivityThread.java:4703)\n\tat android.os.Handler.handleCallback(Handler.java:809)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loop(Looper.java:166)\n\tat android.app.ActivityThread.main(ActivityThread.java:7555)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963)\n"
],
"user_comment": ""
}

@heberjeur
Copy link
Author

This with 10 tabs

@heberjeur
Copy link
Author

OK I will test it as soon as possible

@wb9688
Copy link
Contributor

wb9688 commented Apr 23, 2020

I could reproduce the crash now

@wb9688 wb9688 self-assigned this Apr 23, 2020
@heberjeur
Copy link
Author

I have an issue when I open this app and quickly I open videos, it's crashes and restart

{
"user_action": "ui error",
"request": "App crash, UI failure",
"content_language": "fr_TN",
"service": "none",
"package": "org.schabi.newpipe.debug.tabs",
"version": "0.18.6",
"os": "Linux HUAWEI/DUB-L41/HWDUB-Q:8.1.0/HUAWEIDUB-LX1/155(C185):user/release-keys 8.1.0 - 27",
"time": "2020-04-23 21:37",
"exceptions": [
"java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.view.View.getResources()' on a null object reference\n\tat org.schabi.newpipe.util.AnimationUtils.slideUp(AnimationUtils.java:372)\n\tat org.schabi.newpipe.fragments.list.channel.ChannelTabFragment.handleResult(ChannelTabFragment.java:107)\n\tat org.schabi.newpipe.fragments.list.channel.ChannelTabFragment.handleResult(ChannelTabFragment.java:37)\n\tat org.schabi.newpipe.fragments.list.BaseListInfoFragment.lambda$startLoading$0$BaseListInfoFragment(BaseListInfoFragment.java:125)\n\tat org.schabi.newpipe.fragments.list.-$$Lambda$BaseListInfoFragment$prYfqK19mXhZc0JDsOoy9kGzYpE.accept(Unknown Source:4)\n\tat io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)\n\tat io.reactivex.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)\n\tat io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:119)\n\tat android.os.Handler.handleCallback(Handler.java:809)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loop(Looper.java:166)\n\tat android.app.ActivityThread.main(ActivityThread.java:7555)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963)\n"
],
"user_comment": ""
}

@wb9688
Copy link
Contributor

wb9688 commented Apr 24, 2020

@heberjeur: Could you try the new APK from #3476?

@heberjeur
Copy link
Author

The app don't crashs now but, it's still slow specially when I return to main screen.
In this video you can see also that the channel picture refresh many times

https://youtu.be/HopnSW8b4AI

@heberjeur
Copy link
Author

This is an other lack of performance, it happens when I enter to video and I return back to the channel
https://youtu.be/CIunWa4fEnQ

@triallax
Copy link
Contributor

triallax commented Dec 3, 2020

@heberjeur is this still happening with 0.20.5?

@heberjeur
Copy link
Author

heberjeur commented Dec 3, 2020

Yes !
This is an illustration
https://youtu.be/LOb1GGowzLM

@Feuerswut
Copy link

Is this still an issue or can this be closed

@opusforlife2
Copy link
Collaborator

@heberjeur ?

@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 Oct 19, 2023
Copy link

github-actions bot commented Nov 3, 2023

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.

@github-actions github-actions bot closed this as completed Nov 3, 2023
@SameenAhnaf SameenAhnaf removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Nov 3, 2023
@opusforlife2 opusforlife2 removed bug Issue is related to a bug GUI Issue is related to the graphical user interface labels Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants