-
Notifications
You must be signed in to change notification settings - Fork 973
Control+W does not work on tabs opened by clicking go back button #8974
Comments
When the tab is closed, we do calculate a new active frame (and this is correct). However, the tab state is never updated (ex: Working on a fix... |
I suspect the root cause is in Muon... specifically a `chrome-tabs-updated` event not firing when tab.webContent.setActive(true) is called. Auditors: @bridiver, @NejcZdovc Test Plan: See steps in #8974
Findings I had while making a work-around: The underlying problem has these steps:
At this point, we're expecting |
the expected behavior in this issue is actually wrong. With a setting of |
I don't remember correctly if I misread something (sorry it was confusing), yet the point is you cannot close the 2 tabs consecutively. |
there are actually 2 bugs here. The first is (with that setting) it should return to the original github.com tab. The second is the issue with closing the second tab |
The test plan works, still I found another issue (which should not be a blocker I think) by following the STR with one about page (about:preferences) opened. I'm going to log the issue as a follow-up. |
I logged here: #9065 |
Test plan
Select the last viewed tab
Focus should go form last tab to the parent tab (since it was last active).
Since the fix involved refactoring the logic for close tab, you may wish to test that all 3 of these options work as expected:
Description
Describe the issue you encountered: By changing the tab setting to
Select the last closed tab
, Control+W does not work on tabs opened by clicking go back button.Platform (Win7, 8, 10? macOS? Linux distro?): tested on debian
Brave Version (revision SHA): 0.15.306
Steps to reproduce:
Select the last closed tab
Actual result: only 1 tab can be closed
Expected result: both tabs should be closed
Extra QA steps:
1.
2.
3.
Screenshot if needed:
Any related issues:
The text was updated successfully, but these errors were encountered: