Closed
Bug 895549
Opened 10 years ago
Closed 10 years ago
Flash when swipe closing tabs
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec24+)
VERIFIED
FIXED
Firefox 25
Tracking | Status | |
---|---|---|
fennec | 24+ | --- |
People
(Reporter: wesj, Assigned: wesj)
Details
Attachments
(1 file, 1 obsolete file)
3.77 KB,
patch
|
lucasr
:
review+
|
Details | Diff | Splinter Review |
After I swipe close a tab, I see the old tab briefly flash back into place before its killed.
Comment 1•10 years ago
|
||
This happens when clicking on the 'X' to close a tab too. I'm seeing it on a Galaxy Q running 2.3, it feels very glitchy whenever I see it.
tracking-fennec: --- → ?
Assignee | ||
Comment 2•10 years ago
|
||
This makes us reset our transforms when the view is recycled instead of when the animation ends. I'm guessing this is from bug 868460, but I don't really see any changes there. Just moving things around. I suspected the setHasTransientState calls were the causing problems, but removing them didn't fix anything.
Attachment #780514 -
Flags: review?(lucasr.at.mozilla)
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 780514 [details] [diff] [review] Patch Grr. qdiff is failing me. Not the right patch.
Attachment #780514 -
Flags: review?(lucasr.at.mozilla)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #780514 -
Attachment is obsolete: true
Attachment #780516 -
Flags: review?(lucasr.at.mozilla)
Comment 5•10 years ago
|
||
Comment on attachment 780516 [details] [diff] [review] Patch Review of attachment 780516 [details] [diff] [review]: ----------------------------------------------------------------- Interesting, I added code in PropertyAnimator that sets any animated view as having transient state (looks for setHasTransientState() calls there) which would cause the animated views to not be recycled by TwoWayView (at least for API level 16 and later). Maybe there's a bug in TwoWayView. In any case, this is needed for older Android versions. ::: mobile/android/base/TabsTray.java @@ +349,5 @@ > > TabRow tab = (TabRow)view.getTag(); > final int tabId = tab.id; > + if (mOriginalSize == 0) > + mOriginalSize = (isVertical ? view.getHeight() : view.getWidth()); Please add a comment explaining the assumption that all list items have the same size.
Attachment #780516 -
Flags: review?(lucasr.at.mozilla) → review+
Comment 6•10 years ago
|
||
Maybe it's the case to uplift this to Aurora least?
Updated•10 years ago
|
Assignee: nobody → wjohnston
Status: NEW → ASSIGNED
OS: Linux → Android
Hardware: x86_64 → ARM
Assignee | ||
Comment 8•10 years ago
|
||
I only see this on nightly.
Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f8d184e3879d
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f8d184e3879d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Updated•2 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
•