After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753064 - theme: spinner broken
theme: spinner broken
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.17.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 753277 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-07-30 15:19 UTC by Jakub Steiner
Modified: 2015-08-05 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
spinner: use a 60fps spinner (90.43 KB, patch)
2015-07-30 18:29 UTC, Jakub Steiner
none Details | Review
spinner: use a 60fps spinner (90.26 KB, patch)
2015-07-31 12:33 UTC, Jakub Steiner
committed Details | Review

Description Jakub Steiner 2015-07-30 15:19:21 UTC
When the app menu icon has been updated to be 16px, the tiles of the spinner remain 24px and appear broken. As gtk+ has been updated to use 60Hz spinners, we should take the opportunity to have fluid spinners in the shell as well..
Comment 1 Jakub Steiner 2015-07-30 18:29:19 UTC
Created attachment 308481 [details] [review]
spinner: use a 60fps spinner

- sync with gtk+ and provide a fluid spinner
Comment 2 Florian Müllner 2015-07-30 20:30:25 UTC
Review of attachment 308481 [details] [review]:

::: js/gdm/authPrompt.js
@@ +18,2 @@
 const DEFAULT_BUTTON_WELL_ANIMATION_DELAY = 1.0;
+const DEFAULT_BUTTON_WELL_ANIMATION_TIME = 0.04;

Just to make sure: this is the time used to fade out the spinner when stopping the animation (i.e. it is not related to the spinner animation itself). Is this intentional?
(Same applies for all the other ANIMATION_TIME constants)

::: js/ui/status/network.js
@@ +879,2 @@
         let file = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/process-working.svg');
+        this._noNetworksSpinner = new Animation.AnimatedIcon(file, 16, 16);

Have you tried this? This is the one place where I'm not convinced the smaller icon works as well as the previous size ...
Comment 3 Jakub Steiner 2015-07-31 12:29:32 UTC
(In reply to Florian Müllner from comment #2)
> Review of attachment 308481 [details] [review] [review]:
> 
> ::: js/gdm/authPrompt.js
> @@ +18,2 @@
>  const DEFAULT_BUTTON_WELL_ANIMATION_DELAY = 1.0;
> +const DEFAULT_BUTTON_WELL_ANIMATION_TIME = 0.04;
> 
> Just to make sure: this is the time used to fade out the spinner when
> stopping the animation (i.e. it is not related to the spinner animation
> itself). Is this intentional?

Nope, not intentional.

> ::: js/ui/status/network.js
> @@ +879,2 @@
>          let file =
> Gio.File.new_for_uri('resource:///org/gnome/shell/theme/process-working.
> svg');
> +        this._noNetworksSpinner = new Animation.AnimatedIcon(file, 16, 16);
> 
> Have you tried this? This is the one place where I'm not convinced the
> smaller icon works as well as the previous size ...

Can we avoid having multiple sizes of the sprite? Especially when it's vectors...
Comment 4 Jakub Steiner 2015-07-31 12:33:14 UTC
Created attachment 308530 [details] [review]
spinner: use a 60fps spinner

- sync with gtk+ and provide a fluid spinner
Comment 5 Frederic Peters 2015-08-05 11:35:26 UTC
*** Bug 753277 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Steiner 2015-08-05 11:50:50 UTC
The spinner in the network panel is indeed on the small size, but it's workable from my POV. We can revisit (going 24x24 for the panel might be viable).
Comment 7 Jakub Steiner 2015-08-05 11:51:47 UTC
Attachment 308530 [details] pushed as 27a7194 - spinner: use a 60fps spinner