-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Bug] Toolbar dial and other NTP extensions will show Brave NTP on restart #30890
Comments
We'll want to verify that isn't a problem with another extension too like |
@rebron reproduced this issue in 1.52.122 with both the extensions.
2023-06-09_14h40_00.mp42023-06-09_14h38_14.mp4 |
another way to reproduce the issue 2023-06-09_14h56_36.mp4 |
Confirmed that newtab url overriding is done via This only happens when NTP is restored during the startup. In
If state is created with Regarding to empty state from restored navigation, Found the cause - This regression comes from brave/brave-core#14603. When NavigationEntry is created, url is re-written for newtab but it's ignored if encoded page state isn't existed. |
…startup fix brave/brave-browser#30890 As we sanitize serialzed navigation(brave/brave-browser#30890), encoded page state is empty for all chrome url. So, new page state is created with virtual url when it's restored during the startup. ContentSerializedNavigationBuilder::ToNavigationEntry() set new page state if it's empty. When new page state is created, navigation's virtual url is created. If url is re-written when NavigationEntryImpl is created, that re-written url is ignored. To fix this, including url info only for chrome url's encoded page state.
Hello. I don't like the default new tab layout in this browser. Therefore, I use a third-party extension - "toolbar dial". It replaces the default new tab layout.
The bug is that if you create a new empty tab and then restart the browser, the old native start screen is displayed in the new tab! When creating further new tabs already the extension works fine.
In google chrome, everything works as it should - at startup, the previous tabs open and if there are confusing ones among them, then the "toolbar dial" works as it should.
I think the problem is with all extensions that replace the default new tab screen.
Thank you.
https://chrome.google.com/webstore/detail/toolbar-dial/nejdcfinmjpapnkjffcejgcidjmbipcp?hl=en
The text was updated successfully, but these errors were encountered: