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 693688 - classic-mode: app launch spinner does not turn black
classic-mode: app launch spinner does not turn black
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
classic
Depends on:
Blocks:
 
 
Reported: 2013-02-13 02:43 UTC by Matthias Clasen
Modified: 2013-04-16 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
classic: Invert the spinner color (25.05 KB, patch)
2013-04-08 23:04 UTC, Matthias Clasen
reviewed Details | Review
panel: Pass a full pathname to AnimatedIcon (2.96 KB, patch)
2013-04-16 16:01 UTC, Florian Müllner
committed Details | Review
theme-node: Add lookup_url/get_url() methods (5.17 KB, patch)
2013-04-16 16:01 UTC, Florian Müllner
committed Details | Review
panel: Pick up spinner icon from CSS (3.92 KB, patch)
2013-04-16 16:01 UTC, Florian Müllner
committed Details | Review
classic: Style startup spinner differently in classic mode (24.84 KB, patch)
2013-04-16 16:01 UTC, Florian Müllner
committed Details | Review

Description Matthias Clasen 2013-02-13 02:43:21 UTC
I've noticed that the spinner we show for startup feedback is still white, while all the other text on the top bar is turned black.
Comment 1 Florian Müllner 2013-02-13 05:55:21 UTC
Known problem, see http://git.gnome.org/browse/gnome-shell-extensions/tree/data/gnome-classic.css#n3
Comment 2 Matthias Clasen 2013-04-08 14:29:12 UTC
So, the spinner is done as AnimatedIcon('process-working.svg')
I guess we could either make that smart about symbolic icon recoloring, or just choose a different svg depending on the mode
Comment 3 Matthias Clasen 2013-04-08 23:04:51 UTC
Created attachment 240994 [details] [review]
classic: Invert the spinner color
Comment 4 Jasper St. Pierre (not reading bugmail) 2013-04-08 23:40:50 UTC
Review of attachment 240994 [details] [review]:

::: js/ui/panel.js
@@ +298,2 @@
         this._stop = true;
+        if (Main.sessionMode.currentMode == 'classic')

ugh. I'd rather have a special CSS property here that you would grab with a new lookup_url method on the theme node.

Florian has the last say, though.
Comment 5 Florian Müllner 2013-04-09 07:00:33 UTC
I agree, we have a generic mechanism for mode specific styling that should be used here.
Comment 6 Matthias Clasen 2013-04-10 10:27:19 UTC
I don't know enough shell internals to do that.
Can either of you please do what's required here ?
Comment 7 Florian Müllner 2013-04-16 16:01:06 UTC
Created attachment 241654 [details] [review]
panel: Pass a full pathname to AnimatedIcon

For classic mode, we want to use a different styling for the spinner,
so we will pick up the image filename from CSS to make use of mode
specific styling. As the CSS will give us a full pathname, adapt the
API to take a full pathname instead of building it inside AnimatedIcon
from the passed basename.
Comment 8 Florian Müllner 2013-04-16 16:01:12 UTC
Created attachment 241655 [details] [review]
theme-node: Add lookup_url/get_url() methods

Similar to the existing generic getter methods, add lookup functions
for URL properties like the standard background-image/border-image
properties.
Comment 9 Florian Müllner 2013-04-16 16:01:18 UTC
Created attachment 241656 [details] [review]
panel: Pick up spinner icon from CSS

In order to use a different spinner image in classic mode (or any
other mode specific style), get it from CSS rather than hardcoding
a particular image.
Comment 10 Florian Müllner 2013-04-16 16:01:56 UTC
Created attachment 241657 [details] [review]
classic: Style startup spinner differently in classic mode
Comment 11 Jasper St. Pierre (not reading bugmail) 2013-04-16 16:53:50 UTC
Review of attachment 241654 [details] [review]:

Hm. I'd imagine that Panel.AnimatedIcon would gain a style class, and use that internally, but OK.
Comment 12 Jasper St. Pierre (not reading bugmail) 2013-04-16 16:54:02 UTC
Review of attachment 241655 [details] [review]:

OK.
Comment 13 Jasper St. Pierre (not reading bugmail) 2013-04-16 16:54:11 UTC
Review of attachment 241656 [details] [review]:

OK.
Comment 14 Jasper St. Pierre (not reading bugmail) 2013-04-16 16:54:24 UTC
Review of attachment 241657 [details] [review]:

OK.
Comment 15 Florian Müllner 2013-04-16 17:27:52 UTC
Attachment 241654 [details] pushed as 2fc76e6 - panel: Pass a full pathname to AnimatedIcon
Attachment 241655 [details] pushed as 2b439ef - theme-node: Add lookup_url/get_url() methods
Attachment 241656 [details] pushed as 4710753 - panel: Pick up spinner icon from CSS
Comment 16 Florian Müllner 2013-04-16 17:28:54 UTC
Attachment 241657 [details] pushed as 4ebd46c - classic: Style startup spinner differently in classic mode