Open simonhong opened 3 days ago
@Ilie-Lesan reported from https://github.com/brave/brave-browser/issues/41272#issuecomment-2452981864
When detaching a new tab, new window is created but that new window has another two inactive new tabs.
@llie-Lesan 's recording:
https://github.com/user-attachments/assets/b9694bae-fd76-42b8-bdc6-c560178f8ba3
Close window when closing last tab
New window has three new tabs
New window should have only one detached tab
Easily reproduced
1.75.59 Chromium: 131.0.6778.85 (Official Build) nightly (arm64)
cc @rebron @brave/qa-team
This doesn't happen when we select Open the New Tab page of On startup option from brave://settings/getStarted. Investigating where two new tabs came from and why they are restored to detached window.
Open the New Tab page
On startup
Description
@Ilie-Lesan reported from https://github.com/brave/brave-browser/issues/41272#issuecomment-2452981864
When detaching a new tab, new window is created but that new window has another two inactive new tabs.
@llie-Lesan 's recording:
https://github.com/user-attachments/assets/b9694bae-fd76-42b8-bdc6-c560178f8ba3
Steps to reproduce
Close window when closing last tab
from brave://settings/systemActual result
New window has three new tabs
Expected result
New window should have only one detached tab
Reproduces how often
Easily reproduced
Brave version (brave://version info)
1.75.59 Chromium: 131.0.6778.85 (Official Build) nightly (arm64)
Channel information
Reproducibility
Miscellaneous information
cc @rebron @brave/qa-team