Closed
Bug 1204760
Opened 9 years ago
Closed 9 years ago
Undo close tab toast covers tab bar
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox44 fixed, fennecNightly+)
RESOLVED
FIXED
Firefox 44
People
(Reporter: blassey, Assigned: sebastian)
References
Details
Attachments
(1 file)
(deleted),
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
When I want to close several tabs I just opened, I used to swipe away the bottom tab repeatedly. Note after I swipe away a tab the toast covers the tabs tray preventing me from closing other recent tabs.
Comment 1•9 years ago
|
||
I agree this has bothered me. This issue came up before in bug 1019735, but it was a bit different, since the toast was blocking access to the urlbar.
mhaigh, can you link this to whatever meta bug you're using to track these tabs tray issues?
Flags: needinfo?(mhaigh)
Comment 2•9 years ago
|
||
I bet moving to Snackbars instead of Toasts is the way to fix this.
Comment 3•9 years ago
|
||
mfinkle: agreed - the snackbar is dismissable which will be a huge win in situations like this.
Comment 4•9 years ago
|
||
Maybe time to re-prioritize bug 1157526...
Reporter | ||
Updated•9 years ago
|
tracking-fennec: ? → Nightly+
Reporter | ||
Updated•9 years ago
|
tracking-fennec: Nightly+ → 43+
Assignee | ||
Comment 6•9 years ago
|
||
It looks like a snackbar is our only proposed solution for this? The snackbar and toast APIs are very similar. We could use this here as a first step into replacing toasts. Snackbar will require the Android design support library (bug 1189306) but now with simple AAR support this should be easy to add.
Depends on: 1157526
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → s.kaspari
Assignee | ||
Comment 7•9 years ago
|
||
Patch to show Snackbar instead of Toast (Depends on patch in bug 1215026)
Assignee | ||
Updated•9 years ago
|
Attachment #8676805 -
Flags: review?(michael.l.comella)
Assignee | ||
Comment 8•9 years ago
|
||
If you want to run this locally then you will need to import the patches from the following bugs:
* bug 1189306
* bug 1215026
I didn't land them yet because this here is the first feature that will need those changes.
Comment 9•9 years ago
|
||
Comment on attachment 8676805 [details] [diff] [review]
1204760-undo-snackbar.patch
Review of attachment 8676805 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good! Is there a Java entry point to close tab that we may need to cover too?
Attachment #8676805 -
Flags: review?(michael.l.comella) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #9)
> Looks good! Is there a Java entry point to close tab that we may need to
> cover too?
From what I can see this is the only place. This code path is triggered by the "Tab:Close" event.
Assignee | ||
Comment 12•9 years ago
|
||
NI: I wonder if I should push this with its dependencies (Android design support library: bug 1189306, Snackbar API: bug 1215026) today or if I should hold it back until the Fx45 cycle. There's an issue on Android 2.3/4.0 (bug 1217416) - but this has been fixed and is waiting for review.
Flags: needinfo?(mark.finkle)
Flags: needinfo?(margaret.leibovic)
Comment 13•9 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #12)
> NI: I wonder if I should push this with its dependencies (Android design
> support library: bug 1189306, Snackbar API: bug 1215026) today or if I
> should hold it back until the Fx45 cycle. There's an issue on Android
> 2.3/4.0 (bug 1217416) - but this has been fixed and is waiting for review.
I think we could just push it now. We still have a week until the merge, and it would be nice to use that time to start getting more test coverage for these changes.
Worst case, if we end up with too many regressions to tackle in 44, we can back out these changes (right?).
Flags: needinfo?(margaret.leibovic)
Assignee | ||
Comment 14•9 years ago
|
||
(In reply to :Margaret Leibovic from comment #13)
> I think we could just push it now. We still have a week until the merge, and
> it would be nice to use that time to start getting more test coverage for
> these changes.
Alright. :)
> Worst case, if we end up with too many regressions to tackle in 44, we can
> back out these changes (right?).
Yeah, we would need to back out 3-4 patches (If we want to completely rollback everything including Android Design Support Library). A bit annoying maybe but doable.
Flags: needinfo?(mark.finkle)
Assignee | ||
Comment 15•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/aadaca56ce9962a7675e1b0dd88a52263c097ce9
Bug 1204760 - Use snackbar instead of toast for "undo close tab" notification. r=mcomella
Comment 16•9 years ago
|
||
I approve this landing
Comment 17•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Updated•4 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
•