Closed
Bug 910191
Opened 11 years ago
Closed 11 years ago
Swiping away tabs sometimes doesn't work properly
Categories
(Firefox for Android Graveyard :: Theme and Visual Design, defect)
Tracking
(firefox25 affected, firefox26 fixed, firefox27 fixed, fennec26+)
RESOLVED
FIXED
Firefox 27
People
(Reporter: kats, Assigned: lucasr)
Details
Attachments
(1 file)
1.46 KB,
patch
|
sriram
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
On a Galaxy Q running 2.3.6 with latest nightly:
1. Open a bunch of tabs
2. Hold the device in portrait mode (this doesn't repro in landscape as far as i can tell)
3. Open the tab switcher
4. Swipe away a tab, but instead of swiping it completely off the switcher, drag it to about 3/4 of the way off and then stop and lift your finger.
Expected: the tab either completes swiping away and closes or comes back to the normal position.
Actual: the tab stays at the 3/4 position where it was left (and is still slightly transparent). The tab does not close. Touching the tab again seems to trigger the tab close, but the animation doesn't look right.
I can reliably reproduce this, but there's a bit of magic to it. I find that if I drag the tab very slowly then this doesn't happen. It works best if I accelerate my finger to a normal fling speed but then bring it to a stop at around the 3/4 position and then lift my finger. I run into this frequently while actually trying to close tabs.
Reporter | ||
Comment 1•11 years ago
|
||
I'm also seeing similar issues in landscape when I swipe away a tab - there is a 2-3 second pause between swiping away the tab and the next tab getting selected. It just feels really slow. And then to hide the tab tray, I should be able to just tap the thumbnail once, but I have to do it twice, which is also weird. I think in general somebody needs to look at the tab-closing behaviour on a slow Gingerbread device and tune it a little.
tracking-fennec: --- → ?
Updated•11 years ago
|
Assignee: nobody → lucasr.at.mozilla
tracking-fennec: ? → 26+
Assignee | ||
Comment 2•11 years ago
|
||
Oh well, OnPreDrawObserver seems busted on pre-HC Android.
Attachment #805507 -
Flags: review?(sriram)
Comment 3•11 years ago
|
||
Comment on attachment 805507 [details] [diff] [review]
Don't use OnPreDrawObserver on pre-HC devices
Review of attachment 805507 [details] [diff] [review]:
-----------------------------------------------------------------
I faced a similar problem while working on another bug. I guess the isAlive() should be in the listener too. May be a followup patch?
Attachment #805507 -
Flags: review?(sriram) → review+
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #3)
> Comment on attachment 805507 [details] [diff] [review]
> Don't use OnPreDrawObserver on pre-HC devices
>
> Review of attachment 805507 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I faced a similar problem while working on another bug. I guess the
> isAlive() should be in the listener too. May be a followup patch?
I wondered about the same thing. I'll add the check just in case.
Assignee | ||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 805507 [details] [diff] [review]
Don't use OnPreDrawObserver on pre-HC devices
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 871651
User impact if declined: Swiping tabs will consistently fail on pre-Honeycomb devices.
Testing completed (on m-c, etc.): Local tests on multiple devices. Landed on m-c.
Risk to taking this patch (and alternatives if risky): Low risk, affected devices will simply avoid the unreliable code path.
String or IDL/UUID changes made by this patch: n/a
Attachment #805507 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #805507 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/51a7fba55698
Not sure if you want to request beta approval for this or not given bug 913402.
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
•