Newpipe: Main page tabs aren't what they should be after import before restart

Created on 30 Mar 2020  路  12Comments  路  Source: TeamNewPipe/NewPipe

Imported data is only updated after restart of NewPipe.
After importing data from an older version with a different tab arrangement, the taps will not contain the screen they should. Haven't tested with data from the current version. Fix is simple. Close the app and relaunch after importing. The app can do this its self to prevent user jank.

Different tab arrangement:
image

GUI bug

Most helpful comment

I have noticed odd behavior with the import as well when changing the tabs. Can confirm this is (or at least was, but I don't see commits that say it was fixed) a bug.

All 12 comments

I'm not able to replicate this, can you post more detailed steps to reproduce it like the bug report template indicates?

Sorry about that.
Steps

  1. Install older version of newpipe
  2. Use settings to change which tabs show on top
  3. Export settings from old version of newpipe
  4. Install newest newpipe.
  5. import settings
  6. return to the home screen and see that they are not what the icon says they are. Unitll
  7. Restart the app
  8. They behave normaly now.

I have noticed odd behavior with the import as well when changing the tabs. Can confirm this is (or at least was, but I don't see commits that say it was fixed) a bug.

I tested it on a build of the code from the dev branch

Should be a simple fix to restart the app on import of settings.

@PeterHindes

You can see in this absolute bad practice of a class that the app is, indeed, restarted. In my case, the app is restarted and all the tabs are what they should be, in various Android versions as well.

About that screenshot that you posted, the name and the icon match what it should be. Please, post screenshots before and after importing so we can see the difference.

But by what you just said above:

Should be a simple fix to restart the app on import of settings.

And,

  1. import settings
  2. return to the home screen and see that they are not what the icon says they are. Unitll

Most probably the app is not restarting due to something specific to your device, you shouldn't be able to just return to the home screen.

Is that it? The app doesn't restart at all after confirming the two dialogs?


@gkeegan

Can confirm this is (or at least was, but I don't see commits that say it was fixed) a bug.

Please, post the before/after screenshots too. And does the app restart at all for you?

I can't do screenshots since I'm on 0.19.0 and afraid to import data since it is apparently broken or something. What I remember is that it shows trending when it is supposed to be the channel list with the "whats new" bar at the top. What was supposed to be bookmarks because that page instead.

It did restart when I did it yes.

I am running it in the android emulator on andorid r and on a oneplus 6t on android 10

Ill try to collect screen shots in a little while

Oh, now I managed to replicate the bug. Will fix it shortly.

Still true as of 0.19.8.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

desmonk picture desmonk  路  3Comments

fnadde42 picture fnadde42  路  3Comments

probonopd picture probonopd  路  3Comments

hassanseoul123 picture hassanseoul123  路  3Comments

cool-student picture cool-student  路  3Comments