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 708852 - appDisplay: Add hover/active states to indicators
appDisplay: Add hover/active states to indicators
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: 2013-09-26 16:12 UTC by Carlos Soriano
Modified: 2013-09-27 13:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
appDisplay: Add hover/active states to indicators (8.50 KB, patch)
2013-09-26 16:12 UTC, Carlos Soriano
accepted-commit_after_freeze Details | Review
appDisplay: Add hover/active states to indicators (8.61 KB, patch)
2013-09-26 16:25 UTC, Carlos Soriano
accepted-commit_now Details | Review
appDisplay: Add hover/active states to indicators (8.60 KB, patch)
2013-09-26 16:52 UTC, Carlos Soriano
reviewed Details | Review
appDisplay: Add hover/active states to indicators (8.66 KB, patch)
2013-09-26 17:02 UTC, Carlos Soriano
accepted-commit_now Details | Review
theme: Add hover/active states to indicators (10.82 KB, patch)
2013-09-27 13:45 UTC, Carlos Soriano
committed Details | Review

Description Carlos Soriano 2013-09-26 16:12:56 UTC
See patch
Comment 1 Carlos Soriano 2013-09-26 16:12:59 UTC
Created attachment 255851 [details] [review]
appDisplay: Add hover/active states to indicators

Until now we had the same svg for hover, active and checked
states in the pagination indicators. Just differentiate between
them using differents svg.
Comment 2 Giovanni Campagna 2013-09-26 16:15:40 UTC
Review of attachment 255851 [details] [review]:

Looks good to me. Needs UI freeze for 3.10, or just wait until we branch.
Comment 3 Carlos Soriano 2013-09-26 16:24:39 UTC
Review of attachment 255851 [details] [review]:

::: data/Makefile.am
@@ +49,3 @@
 	theme/page-indicator-inactive.svg	\
+	theme/page-indicator-checked.svg	\
+	theme/page-indicator-hover.svg	\

argh, I hate it is using tabs so my editor don't show them correctly....fixed in next patch using gedit to make sure of that
Comment 4 Carlos Soriano 2013-09-26 16:25:44 UTC
Created attachment 255853 [details] [review]
appDisplay: Add hover/active states to indicators

Until now we had the same svg for hover, active and checked
states in the pagination indicators. Just differentiate between
them using differents svg.
Comment 5 Carlos Soriano 2013-09-26 16:52:24 UTC
Created attachment 255857 [details] [review]
appDisplay: Add hover/active states to indicators

Until now we had the same svg for hover, active and checked
states in the pagination indicators. Just differentiate between
them using differents svg.
Comment 6 Carlos Soriano 2013-09-26 16:53:59 UTC
Comment on attachment 255857 [details] [review]
appDisplay: Add hover/active states to indicators

Following Florian comment to let active state win over checked state
Comment 7 Florian Müllner 2013-09-26 16:56:47 UTC
Review of attachment 255857 [details] [review]:

::: data/theme/gnome-shell.css
@@ +963,3 @@
+}
+
+.page-indicator:checked:active .page-indicator-icon {

You should combine this as
    .page-indicator:active .page-indicator-icon,
    .page-indicator:active:checked .page-indicator-icon
instead of using identical but separate styles
Comment 8 Carlos Soriano 2013-09-26 17:02:24 UTC
Created attachment 255858 [details] [review]
appDisplay: Add hover/active states to indicators

Until now we had the same svg for hover, active and checked
states in the pagination indicators. Just differentiate between
them using differents svg.
Comment 9 Carlos Soriano 2013-09-26 17:03:52 UTC
Comment on attachment 255858 [details] [review]
appDisplay: Add hover/active states to indicators

Ok Florian. Applied your comment.
Comment 10 Carlos Soriano 2013-09-27 13:45:13 UTC
Created attachment 255932 [details] [review]
theme: Add hover/active states to indicators

Until now we had the same svg for hover, active and checked
states in the pagination indicators. Just differentiate between
them using differents svg.

svg files provided by Jakub Steiner
Comment 11 Carlos Soriano 2013-09-27 13:50:46 UTC
Attachment 255932 [details] pushed as 465af55 - theme: Add hover/active states to indicators