Window closed due to all its tab(s) moving to another window should not end up in the "Reopen Closed ..." stack
Categories
(Firefox :: Session Restore, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox-esr115 | --- | unaffected |
firefox116 | --- | affected |
firefox117 | --- | affected |
firefox118 | --- | affected |
People
(Reporter: yoasif, Assigned: sclements)
References
Details
Steps to reproduce:
- Open Firefox
- Open any two new pages - I control-clicked two random Pocket Stories on the new tab page
- detach any of the tabs opened in step 2 into a new window (drag out the tab)
- drag the tab you detached back into the window you initially dragged it from
- do "control-shift-t"
What happens:
The reattached tab (from step 4) is detached again, AND we have the reattached tab in the window that I initially opened when opening Firefox. The tab has been duplicated.
Expected result:
reopen closed tab does nothing.
mozregression:
4:49.97 INFO: Narrowed integration regression window from [f1fb2652, 15a57a8c] (3 builds) to [f1fb2652, a44656c2] (2 builds) (~1 steps left)
4:49.97 INFO: No more integration revisions, bisection finished.
4:49.97 INFO: Last good revision: f1fb26526a2e8e7d9539b3f975817b0578e1bc0c
4:49.97 INFO: First bad revision: a44656c2ad83d278286aa51507864e53a3911df3
4:49.97 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f1fb26526a2e8e7d9539b3f975817b0578e1bc0c&tochange=a44656c2ad83d278286aa51507864e53a3911df3
Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1833416
:sclements, since you are the author of the regressor, bug 1833416, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
I don't think this is a bug, its a side effect of the behavior for the ctrl|cmd + shift + T shortcut changing in 116 to reopen the last closed tab or window, in the order closed.
Technically, you closed a window when you dragged the tab out to a window, and then back to the original window. The exact same behavior happens if you use repeat those steps and use the ctrl|cmd + shift + N shortcut to reopen the last closed window.
Comment 3•1 year ago
|
||
(In reply to Sarah Clements [:sclements] from comment #2)
Technically, you closed a window when you dragged the tab out to a window, and then back to the original window. The exact same behavior happens if you use repeat those steps and use the ctrl|cmd + shift + N shortcut to reopen the last closed window.
Thanks for investigating! So this kind of makes sense technically, but from a user's perspective the window wasn't really closed in the sense that you might want to reopen it, it was rather merged into another window. I think we should treat the current behavior as a bug, albeit not a high-priority one and not a regression. Wdyt?
Assignee | ||
Comment 4•1 year ago
|
||
(In reply to Dão Gottwald [:dao] from comment #3)
(In reply to Sarah Clements [:sclements] from comment #2)
Technically, you closed a window when you dragged the tab out to a window, and then back to the original window. The exact same behavior happens if you use repeat those steps and use the ctrl|cmd + shift + N shortcut to reopen the last closed window.
Thanks for investigating! So this kind of makes sense technically, but from a user's perspective the window wasn't really closed in the sense that you might want to reopen it, it was rather merged into another window. I think we should treat the current behavior as a bug, albeit not a high-priority one and not a regression. Wdyt?
hrm, if we want to treat it as not a deliberate window closure we should probably apply it to the ctrl|cmd + shift + N shortcut as well, otherwise that would be inconsistent.
Comment hidden (advocacy) |
Comment hidden (off-topic) |
Comment 7•1 year ago
|
||
(In reply to Sarah Clements [:sclements] from comment #4)
(In reply to Dão Gottwald [:dao] from comment #3)
(In reply to Sarah Clements [:sclements] from comment #2)
Technically, you closed a window when you dragged the tab out to a window, and then back to the original window. The exact same behavior happens if you use repeat those steps and use the ctrl|cmd + shift + N shortcut to reopen the last closed window.
Thanks for investigating! So this kind of makes sense technically, but from a user's perspective the window wasn't really closed in the sense that you might want to reopen it, it was rather merged into another window. I think we should treat the current behavior as a bug, albeit not a high-priority one and not a regression. Wdyt?
hrm, if we want to treat it as not a deliberate window closure we should probably apply it to the ctrl|cmd + shift + N shortcut as well, otherwise that would be inconsistent.
Yes.
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 8•1 year ago
|
||
I can probably look into this but it won't be anytime soon. I'll assign it to myself so I don't forget, but if anyone wants to take it (and would like guidance on a fix) lmk.
Description
•