Closed
Bug 1015974
Opened 11 years ago
Closed 11 years ago
Regression: Animated Sync spinning during no Sync activity and with no account
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox32 verified, fennec32+)
VERIFIED
FIXED
Firefox 32
People
(Reporter: aaronmt, Assigned: nalexander)
References
Details
Attachments
(2 files)
2.84 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
6.49 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
Launch Nightly, see spinning icon. Round and round it goes, where it stops, nobody knows.
--
Nightly (05/26)
Nexus 5 (Android 4.4.2)
Comment 1•11 years ago
|
||
I have an account set up and I am also seeing the infinite spin. http://mickeygarf889.tripod.com/sitebuildercontent/sitebuilderpictures/spinners.gif
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #0)
> Launch Nightly, see spinning icon. Round and round it goes, where it stops,
> nobody knows.
Yeah, I just saw this. No account, spinning icon. I'll dig into this today.
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•11 years ago
|
||
Ah, Android. Appears to be a KitKat change: http://stackoverflow.com/q/21699985. Yet another thing to work-around...
Assignee | ||
Comment 4•11 years ago
|
||
It appears that Android 4.4.2 is a special snow-flake that starts the
animation on creation: http://stackoverflow.com/q/21699985. This patch
works around that special behaviour.
Don't you love when you need to update your comment -- gleaned from
working code and documentation -- to account for Android inexplicably
changing behaviour?
Attachment #8428834 -
Flags: review?(rnewman)
Comment 5•11 years ago
|
||
Comment on attachment 8428834 [details] [diff] [review]
Prophylactically stop Sync icon animation on creation. r=rnewman
Review of attachment 8428834 [details] [diff] [review]:
-----------------------------------------------------------------
*sigh*
Did some digging, couldn't find a better way to do this, so r+ drenched in tears.
Attachment #8428834 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Reporter | ||
Comment 8•11 years ago
|
||
Still seems broken. It has a mind of it's own. For a while it doesn't do anything, and then it starts spinning. No account on device.
Oh ... this happens on device rotation on my Nexus 7 (2013, 4.4.2) while the tabs tray is open.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•11 years ago
|
||
Android 4.4.2 makes using animation-list, start(), and stop(),
difficult. This works around that issue by only using animation-list
when we actually want an animated icon.
Attachment #8430194 -
Flags: review?(rnewman)
Comment 10•11 years ago
|
||
Comment on attachment 8430194 [details] [diff] [review]
Follow-up: Only use animated Sync icon when a sync is active. r=rnewman
Review of attachment 8430194 [details] [diff] [review]:
-----------------------------------------------------------------
:(
::: mobile/android/base/tabspanel/RemoteTabsContainerPanel.java
@@ +143,5 @@
> lastSyncStarted = System.currentTimeMillis();
>
> + // Replace the static sync icon with an animated icon, and
> + // start the animation. This works around an Android 4.4.2
> + // bug, which makes animating the animated icon unreliable.
In this case, I think explicitly referring to Bug 1015974 is worthwhile.
@@ +144,5 @@
>
> + // Replace the static sync icon with an animated icon, and
> + // start the animation. This works around an Android 4.4.2
> + // bug, which makes animating the animated icon unreliable.
> + panel.setIconDrawable(Panel.REMOTE_TABS, R.drawable.tabs_synced_animation);
_animated ?
@@ +177,5 @@
> setRefreshing(false);
>
> + // Replace the animated sync icon with the static sync icon.
> + // This works around an Android 4.4.2 bug, which makes
> + // animating the animated icon unreliable.
(Bug 1015974.)
Attachment #8430194 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Status: REOPENED → ASSIGNED
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
tracking-fennec: ? → 32+
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
•