Closed
Bug 818494
Opened 12 years ago
Closed 12 years ago
Swipe to close tab action is sensitive
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox18- unaffected, firefox19+ verified, firefox20 verified, fennec18+)
VERIFIED
FIXED
Firefox 20
People
(Reporter: paul.feher, Assigned: wesj)
Details
Attachments
(1 file)
1.84 KB,
patch
|
lucasr
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Nightly 20.0a1 (2012-12-05) Device: Samsung Galaxy SII OS: Android 4.0.1 Steps to reproduce: 1. Open multiple tabs. 2. Swipe to close a few tabs. Expected: The tab thumbnail should be closed after it covers a reasonable distance to avoid accidentally closing the tab. Actual The tab is closed almost instantly after the swipe action begins.
Comment 1•12 years ago
|
||
Ian, what do you think?
Updated•12 years ago
|
Summary: Swipe to close tab action is to sensitive → Swipe to close tab action is sensitive
Comment 2•12 years ago
|
||
This is an issue also on Firefox Mobile 18 beta 4. Here is a video from the Samsung Galaxy Tab 2 7.0 running Android 4.0.4: http://youtu.be/8d6hVhM3TTI
Comment 3•12 years ago
|
||
That video definitely looks a lot more sensitive than we want, I agree. If we looked at the Android app switcher as a comparison, the threshold to close a tab seems to be roughly 25-30% the width of the screen. I feel like we did that originally for our tab tray too, did that get changed recently?
Comment 4•12 years ago
|
||
I also believe this to be a regression. Bug 764812 fixed this when the issue was first seen.
Updated•12 years ago
|
tracking-fennec: --- → ?
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox20:
--- → affected
Flags: needinfo?(wjohnston)
Comment 5•12 years ago
|
||
Wes, wasn't this fixed in 17?
Comment 6•12 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #5) > Wes, wasn't this fixed in 17? No, this has been fixed in 19 (see bug 772940). This bug is a dup of bug 787335.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 7•12 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=787335 has been verified fix. This issue is still reproducible on Nightly 20.0a1 2012-12-14.
Status: RESOLVED → REOPENED
Flags: needinfo?(wjohnston)
Resolution: DUPLICATE → ---
Assignee | ||
Comment 8•12 years ago
|
||
getScaledMinimumFlingVelocity is actually a very very small number (62px/sec on my Nexus 7). The stock browser uses a larger number to determine this (1500/2). This feels a bit high to me tbh. 500 felt way too low. I decided to leave it here because I'd rather err on the hard side. Build at: http://dl.dropbox.com/u/72157/fennec-slideClose.apk
Attachment #693101 -
Flags: review?(lucasr.at.mozilla)
Comment 9•12 years ago
|
||
Comment on attachment 693101 [details] [diff] [review] Patch Review of attachment 693101 [details] [diff] [review]: ----------------------------------------------------------------- Nice. ::: mobile/android/base/TabsTray.java @@ +343,5 @@ > private int mSwipeThreshold; > private int mMinFlingVelocity; > + // same value the stock browser uses for after drag animation velocity in pixels/sec > + // http://androidxref.com/4.0.4/xref/packages/apps/Browser/src/com/android/browser/NavTabScroller.java#61 > + private static final float MIN_VELOCITY = 750; nit: move this to the top of the class.
Attachment #693101 -
Flags: review?(lucasr.at.mozilla) → review+
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a319fd7b88df
Updated•12 years ago
|
tracking-fennec: ? → 18+
Updated•12 years ago
|
Assignee: nobody → wjohnston
Comment 11•12 years ago
|
||
nominate for tracking since this is an issue with a feature that was introduced in 18
tracking-firefox18:
--- → ?
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 693101 [details] [diff] [review] Patch [Approval Request Comment] Bug caused by (feature/regressing bug #): Swipe to close rewrite (bug 772940) User impact if declined: Swipe to close is very very easy to trigger Testing completed (on m-c, etc.): landed on mc yesterday. i'd like to at least make sure UX has had a chance to test this, but it matches the stock browser behavior Risk to taking this patch (and alternatives if risky): Very low risk. Changing a pref number String or UUID changes made by this patch: None.
Attachment #693101 -
Flags: approval-mozilla-beta?
Attachment #693101 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 693101 [details] [diff] [review] Patch I don't think that bug 772940 is actually in 18. Remove beta request.
Attachment #693101 -
Flags: approval-mozilla-beta?
Comment 14•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a319fd7b88df
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Assignee | ||
Comment 15•12 years ago
|
||
Just wanted to make sure UX had played with this in nightlies and was ok with pushing this to Aurora.
Flags: needinfo?(madhava)
Updated•12 years ago
|
Updated•12 years ago
|
Attachment #693101 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Reporter | ||
Comment 18•12 years ago
|
||
Verified fixed on: Nightly 20.0a1 (2013-01-02) Aurora 19.0a2 (2013-01-02)
Updated•3 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
•