Bug #1134
closedSometimes the tab after a new tab in the middle of a list is set as active
0%
Description
This behaviour is very odd. I can't reproduce this behavior. It seems very random. Can you look into this ?
https://t.ly/LzrVW
It happens when I use the browser quickly. But it's happening very rarely. Can you try to reproduce this issue on your device ? Make sure follow the same steps & speed of usage. I've re-recorded the above screenshare like 15 times to capture the bug actually.
Files
Updated by ask low about 1 year ago
- Subject changed from New tab searches don't get utilised to New tab searches don't get utilised sometimes
Updated by ask low about 1 year ago
Instead of using the opened new tab, pb replaces the farthest right tab with the one searched from the url bar.
Updated by Soren Stoutner about 1 year ago
I'll have to take a look and see if I can figure out what is going on.
Updated by Soren Stoutner about 1 year ago
- Subject changed from New tab searches don't get utilised sometimes to Sometimes the tab after a new tab in the middle of a list is set as active
- Status changed from New to Feedback
@ask low, do you also have the problem described in Bug #1136: Sometimes a new tab is created without a corresponding new page?
Updated by Soren Stoutner about 1 year ago
@ask low, can you please test this alt build of Privacy Browser to see if it resolves the problem for you? You can install it alongside your existing Privacy Browser. The link below will expire in about a week.
Updated by ask low about 1 year ago
- File invalid_package.png invalid_package.png added
Updated by Soren Stoutner about 1 year ago
Sorry about that. Try this version:
Updated by Soren Stoutner about 1 year ago
I'm not 100% sure yet that these two bugs have the same root cause. However, if the proposed fix handles both of them, then I will close this one as a duplicate of that.
Updated by Soren Stoutner about 1 year ago
I will have to think through some other possible solution.
Updated by Soren Stoutner about 1 year ago
Here is a new build you can test. Unlike the previous test version, this change has the potential to possibly break other things, particularly possibly not restoring tabs in the same order, but I have been running it for a few days without encountering any problems.
https://nextcloud.stoutner.com/s/BxtSX3NczFQiLyc
Like usual, this link will expire after a few weeks. Please let me know if 1) this fixes your problem, and 2) you notice any regressions.
Updated by Soren Stoutner about 1 year ago
https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=83a2b6e5635956bb940642e0e5beb47453145dc3;ds=sidebyside attempts to make some progress on this issue, although it might not fully resolve it.
Updated by ask low about 1 year ago
Sure. You can provide alt builds to test.
Although, I currently don't daily drive PB (as long as 1MB SISB crash exists). Moved all of my cookies into FOSS browser, but still hop on PB for anonymous surfing.
Updated by Soren Stoutner about 1 year ago
This is the build I already provided to test.
Updated by ask low about 1 year ago
The commit was of yesterday right ? You probably provide some nextcloud shared link. Sorry but I couldn't find it.
Updated by Soren Stoutner about 1 year ago
The commit is the same as the build in #note-13.
Updated by ask low about 1 year ago
I meant, you provided commit diff in #note-13, but not the build. Sorry but I think either I didn't understood how to get apk or you didn't provide it.
Should I have to compile apk like on my system ?
Updated by Soren Stoutner about 1 year ago
Updated by ask low about 1 year ago
Ah ok. Btw that's 7 days ago. Maybe it's a different race condition then.
You know what? I think it's better you should revert back the new tab adjacent spawn patch altogether & then add newer commits one by one by making sure the race conditions are treated well?
Updated by Soren Stoutner about 1 year ago
I added the link to the test version and waited a while to see if there were any responses. As nothing was said, I added the commit about a week later.
It still isn't clear if this fixes the problem as you haven't commented either way. But I think this commit improves the code anyway, and my testing indicates it doesn't break anything, so I committed it.
Updated by ask low about 1 year ago
I've reinstalled #note-12 just now & been manhandling the new tabs. Will let you know in couple days.
Updated by Soren Stoutner about 1 year ago
@ask low, have you encountered any problems with this test build?
Updated by ask low about 1 year ago
Forgot to share my results here lmao. No new tab spawn issues until now.
But I'm not sure what #1136 issue is. Can you explain exactly what that is ? Caz the description defines similar meaning of this issue.
Updated by Soren Stoutner about 1 year ago
- Status changed from Feedback to Closed
Thanks for the update. Closing with the previously mentioned commit in #note-13.