-
Notifications
You must be signed in to change notification settings - Fork 971
Back/Forward bindings change wrong tab; causes empty new tab #8640
Comments
@bsclifton is this one the same as #8628? |
probably caused by #8336 |
@NejcZdovc thanks for closing the other issue- I didn't notice it 😄 Good eye, @darkdh! (beat me to it!) |
Ok, so the problem is not in #8336, but in activeTab that is passed from In gif what I am doing is just printing out |
Ok I think that I found the main problem. I just pulled down version 0.14.1 and I noticed that this line https://github.com/brave/browser-laptop/blob/master/app/browser/tabs.js#L322 is not called when hovering over tab. Problem is that in 0.15.3 (latest master) this line is called. And with this line we change active tab value. Problem is that when you hover out of the preview tab, this line is not called so tab is not changed back. Will investigate further. |
With version 0.15.0 this was changed and this line is triggered but it's working correctly. Investigating further. I can confirm that in 0.15.0 we don't have this problem. |
After some more hours I notice that production is working, but development was not working way before the release. I just tested browser on this commit and it's already failing there 0f54524. Can it be related to node version? I am testing all of this with node 7.9.0. We switched to 7.9.0 lately. |
This was fixed with #8782. |
Test plan
Did you search for similar issues before submitting this one?
yes
Describe the issue you encountered:
When using the browser, it's possible to get in a state where the back/forward buttons control the wrong tab (easy to spot because the title changes for the wrong one). When you visit the tab that was modified, it is now a dead tab.
Platform (Win7, 8, 10? macOS? Linux distro?):
macOS
Brave Version (revision SHA):
0.15.2 Preview 2
Steps to reproduce:
about:newtab
page.Actual result:
Wrong page is navigated, tab is dead
Expected result:
active page should be navigated
Will the steps above reproduce in a fresh profile? If not what other info can be added?
Is this an issue in the currently released version?
Can this issue be consistently reproduced?
Extra QA steps:
1.
2.
3.
Screenshot if needed:
Any related issues:
The text was updated successfully, but these errors were encountered: