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 744900 - Theme: Too many values for border-radius property
Theme: Too many values for border-radius property
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-02-21 16:49 UTC by Miguel Vaello Martínez
Modified: 2015-02-22 14:02 UTC
See Also:
GNOME target: ---
GNOME version: 3.15/3.16


Attachments
Too many values for border-radius property. (1.59 KB, patch)
2015-02-21 17:23 UTC, Miguel Vaello Martínez
needs-work Details | Review
Theme: Too many values for border-radius property. (1.93 KB, patch)
2015-02-21 17:53 UTC, Florian Müllner
committed Details | Review

Description Miguel Vaello Martínez 2015-02-21 16:49:23 UTC
Too many values for border-radius property.

GNOME Shell throws the following warning message '(gnome-shell:4603): St-WARNING **: Too many values for border-radius property.'

This is due a typo 'border-radius' property in two clases of the theme style gnome-shell.css and gnome-shell-high-contrast.css files.
Comment 1 Miguel Vaello Martínez 2015-02-21 17:22:52 UTC
The attached patch fixes the bug. Was fixed with just remove the last '0' on the 'border-radius' property in the '.tile-preview-left.on-primary' class.
Comment 2 Miguel Vaello Martínez 2015-02-21 17:23:56 UTC
Created attachment 297509 [details] [review]
Too many values for border-radius property.
Comment 3 Florian Müllner 2015-02-21 17:44:43 UTC
Review of attachment 297509 [details] [review]:

Both gnome-shell.css and gnome-shell-high-contrast.css are now generated. The sources are in the gnome-shell-sass submodule (in data/theme/gnome-shell-sass), _common.scss in particular. You should do a patch against that file, then we can regenerate the CSS.
Comment 4 Florian Müllner 2015-02-21 17:53:11 UTC
Created attachment 297512 [details] [review]
Theme: Too many values for border-radius property.

OK, so I went ahead and pushed your change to the gnome-shell-sass repo:

   https://git.gnome.org/browse/gnome-shell-sass/commit/?id=1087927ea0ae

Reattaching your change with the generated file (note that a submodule update is now part of the patch).

Thanks for your attention to detail!
Comment 5 Florian Müllner 2015-02-21 17:53:49 UTC
Attachment 297512 [details] pushed as 7d2690a - Theme: Too many values for border-radius property.
Comment 6 Miguel Vaello Martínez 2015-02-21 22:19:59 UTC
(In reply to Florian Müllner from comment #3)
> Review of attachment 297509 [details] [review] [review]:
> 
> Both gnome-shell.css and gnome-shell-high-contrast.css are now generated.
> The sources are in the gnome-shell-sass submodule (in
> data/theme/gnome-shell-sass), _common.scss in particular. You should do a
> patch against that file, then we can regenerate the CSS.

Ok, sorry for the inconvenience I was not sure about that. Thank you for the info. BTW, what about this[1] repo? It is a parallel development?

[1] https://git.gnome.org/browse/gnome-shell-sass/
Comment 7 Miguel Vaello Martínez 2015-02-21 22:20:57 UTC
(In reply to Florian Müllner from comment #4)
> Created attachment 297512 [details] [review] [review]
> Theme: Too many values for border-radius property.
> 
> OK, so I went ahead and pushed your change to the gnome-shell-sass repo:
> 
>    https://git.gnome.org/browse/gnome-shell-sass/commit/?id=1087927ea0ae
> 
> Reattaching your change with the generated file (note that a submodule
> update is now part of the patch).
> 
> Thanks for your attention to detail!

A pleasure. :)
Comment 8 Florian Müllner 2015-02-22 04:30:54 UTC
(In reply to Miguel Vaello Martínez from comment #6)
> BTW, what about this[1] repo? It is a parallel development?
> 
> [1] https://git.gnome.org/browse/gnome-shell-sass/

Not sure what you mean by "parallel development". It's a module that was created to allow sharing the style sources between gnome-shell and gnome-shell-extensions (which provides the style for the GNOME classic session) - both import it as git submodule into their tree.
Comment 9 Miguel Vaello Martínez 2015-02-22 14:02:54 UTC
(In reply to Florian Müllner from comment #8)
> (In reply to Miguel Vaello Martínez from comment #6)
> > BTW, what about this[1] repo? It is a parallel development?
> > 
> > [1] https://git.gnome.org/browse/gnome-shell-sass/
> 
> Not sure what you mean by "parallel development". It's a module that was
> created to allow sharing the style sources between gnome-shell and
> gnome-shell-extensions (which provides the style for the GNOME classic
> session) - both import it as git submodule into their tree.

Ok, I was a little confused, sorry. This morning I was checking deeper the repo I realized that the gnome-shell contains the mentioned submodule.