This worked great before the last update. Here is an example of the syntax that worked before:
file:///start.html||https://start.duckduckgo.com/|https://google.com/|https://bing.com/|...
That syntax is common way to specify multiple home page tabs in browsers.
Suddenly it stopped working in version 0.13.0; no home tabs load, only an error tab that says:
Your file was not found
It may have been moved or deleted.
ERR_FILE_NOT_FOUND
Hopefully you can get this fixed soon. I want to continue using Brave, but need that multiple-tab startup or it's a deal-breaker. Thanks again for a great browser.
https://github.com/brave/browser-laptop/pull/6922#issue-203979259
Updated to add that the error is different depending on the URLs specified in the "My home page is" setting. If the setting (using vertical pipes to specify multiple URLs) begins with a local file, the "Your file was not found" error is displayed. Otherwise, if the setting begins with an HTTP address, like https://google.com, then the error isn't displayed, but only one tab loads up the entire URL, for example:
https://start.duckduckgo.com/|https://google.com/|https://bing.com/|...
..which leads to crazy undesirable results.
Either case, the setting worked great before 0.13.0.
I can reproduce with 0.13.0 on macOS 10.12.x. I think the pipe | is being encoded as part of the URL.
@bsclifton Could this have been caused by #6086?
Also, do we have any automated tests for multiple home pages?
@Liunkae no, I don't believe it was caused with that. If I had to guess, I would think maybe it was caused by the encodeURI in https://github.com/brave/browser-laptop/pull/6404
cc: @NejcZdovc
@bsclifton I tried locally reverting this commit and #6404 is not a cause for this problem. This commit/function is executed only on event drop.
Thanks for checking that out, @NejcZdovc! 馃槃
We'll need to investigate further to determine what changed. It's important to note that we never explicitly enabled this functionality (it just "worked"). The feature itself is captured with https://github.com/brave/browser-laptop/issues/3110
And a side note, this is not related to the file in the url, same problem occure if you use multiple pages
@bsclifton @NejcZdovc here's what I found
Also https prefix is not required, I just used the domain names separated with | and it worked
Edit: step 4 works, File is opened in the same tab where the home button is pressed
"Your file was not found" error is displayed.
This shows only when the new tab is set to homepage. Like @Liunkae said | is parsed into %7C. But if the new tab is set to dashboard it loads the files and the sites
Will cover all scenarios that you listed above in #6922
@srirambv Can you please check out #6922 and test if everything is fine. The only thing missing there are tests, other then that should be done. Thank you
@NejcZdovc verifed #6922 Works perfect as per the test plan mentioned. 馃憤