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)

Other
Android
defect
Not set
normal

Tracking

(firefox25 affected, firefox26 fixed, firefox27 fixed, fennec26+)

RESOLVED FIXED
Firefox 27
Tracking Status
firefox25 --- affected
firefox26 --- fixed
firefox27 --- fixed
fennec 26+ ---

People

(Reporter: kats, Assigned: lucasr)

Details

Attachments

(1 file)

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.
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: --- → ?
Assignee: nobody → lucasr.at.mozilla
tracking-fennec: ? → 26+
Oh well, OnPreDrawObserver seems busted on pre-HC Android.
Attachment #805507 - Flags: review?(sriram)
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+
(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.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
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?
Attachment #805507 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
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.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: