Closed
Bug 835022
Opened 13 years ago
Closed 13 years ago
Do not switch to private tabs automatically
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox20 verified, firefox21 verified, firefox22 verified)
VERIFIED
FIXED
Firefox 22
People
(Reporter: micmon, Assigned: bnicholson)
References
Details
Attachments
(1 file)
|
2.99 KB,
patch
|
mfinkle
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Open just a normal tab and close it: the homescreen will show. Now open a normal tab and a private tab, then go to the normal tab and close it. Firefox automatically switches to the only remaining tab, which is the private one. IMHO this is bad, it should show the home screen just as before and only switch to the other tab set if you explictly do so.
Updated•13 years ago
|
Assignee: nobody → sriram
| Reporter | ||
Comment 1•13 years ago
|
||
The switch also happens if there are other normal tabs remaining but you close the lowest one. It switches to the "next" tab, which happens to be the private one.
Comment 3•13 years ago
|
||
I've noticed this too. We should always try to keep users in their current mode, and never surprise them by switching into Private without their explicitly making that change.
Expected behaviours:
Action: Close one of 2 or more normal tabs
Result: Switch to next normal tab in list
Action: Close last normal tab
Result: Load about:home in a normal tab
Action: Close one of 2 or more private tabs
Result: Switch to next normal tab in list
Action: Close last private tab
Result: Load about:home in a normal tab
NOTE: this last behaviour is inconsistent, because we are assuming in this case that a user's intent in closing the last remaining private tab is to cover their tracks and not leave evidence of whatever they were doing, not even a blank private tab.
Flags: needinfo?(ibarlow)
Comment 4•13 years ago
|
||
We should be consistent when accepting URL intents as well.
| Assignee | ||
Comment 5•13 years ago
|
||
Assignee: sriram → bnicholson
Status: NEW → ASSIGNED
Attachment #714171 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #714171 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
status-firefox20:
--- → affected
status-firefox21:
--- → fixed
Comment 7•13 years ago
|
||
Backed out:
https://hg.mozilla.org/integration/mozilla-inbound/rev/00c09b326fee
https://hg.mozilla.org/integration/mozilla-inbound/rev/014e88baa216
for robocop orange:
https://tbpl.mozilla.org/php/getParsedLog.php?id=19799058&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=19798804&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=19798937&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=19799040&tree=Mozilla-Inbound
| Reporter | ||
Comment 8•13 years ago
|
||
>> status-firefox21: --- → fixed
It's still affected
| Assignee | ||
Updated•13 years ago
|
status-firefox22:
--- → affected
| Assignee | ||
Comment 9•13 years ago
|
||
That testTabsTray failure shouldn't be an issue anymore since that test case was disabled.
Try results: https://tbpl.mozilla.org/?tree=Try&rev=6bfa1dc46137
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb2ccaf0b894
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
| Assignee | ||
Comment 11•13 years ago
|
||
Argh, I got this bug mixed up with bug 828349, so this one isn't fixed yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 12•13 years ago
|
||
To clarify, I accidentally landed the patch for bug 828349 with this bug number.
Comment 9 should still hold true - pushing to try to verify that the correct patch works fine: https://tbpl.mozilla.org/?tree=Try&rev=90483b71e5b4
| Assignee | ||
Comment 13•13 years ago
|
||
| Assignee | ||
Comment 14•13 years ago
|
||
Comment on attachment 714171 [details] [diff] [review]
Switch to correct tab when a tab is closed
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 582244 (pb)
User impact if declined: closing a normal tab can switch to a private tab, which has possible privacy implications
Testing completed (on m-c, etc.): m-i
Risk to taking this patch (and alternatives if risky): low risk
String or UUID changes made by this patch: none
Attachment #714171 -
Flags: approval-mozilla-beta?
Attachment #714171 -
Flags: approval-mozilla-aurora?
Comment 16•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Comment 17•13 years ago
|
||
Comment on attachment 714171 [details] [diff] [review]
Switch to correct tab when a tab is closed
low risk and easy to verify - approving for uplift.
Attachment #714171 -
Flags: approval-mozilla-beta?
Attachment #714171 -
Flags: approval-mozilla-beta+
Attachment #714171 -
Flags: approval-mozilla-aurora?
Attachment #714171 -
Flags: approval-mozilla-aurora+
Comment 18•13 years ago
|
||
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•