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 644361 - prelight summary-sources
prelight summary-sources
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Marina Zhurakhinskaya
gnome-shell-maint
Depends on: 630842
Blocks: 644788
 
 
Reported: 2011-03-09 23:53 UTC by Jonathan Strander
Modified: 2011-03-22 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update style for message tray summary-sources (1.76 KB, patch)
2011-03-09 23:54 UTC, Jonathan Strander
none Details | Review
Update style for message tray summary-sources (1.44 KB, patch)
2011-03-11 01:56 UTC, Jonathan Strander
none Details | Review
Add source-button-border SVG (3.46 KB, patch)
2011-03-11 04:00 UTC, Jonathan Strander
none Details | Review
Update style for message tray summary-sources (4.03 KB, patch)
2011-03-14 00:56 UTC, Jonathan Strander
none Details | Review
Update-style-for-message-tray-summary-sources (4.03 KB, patch)
2011-03-15 01:27 UTC, Jonathan Strander
none Details | Review
Prelight summary-sources (1.27 KB, patch)
2011-03-15 04:58 UTC, Jonathan Strander
none Details | Review
Prelight-summary-sources (1.29 KB, patch)
2011-03-15 23:05 UTC, Jonathan Strander
reviewed Details | Review

Description Jonathan Strander 2011-03-09 23:53:27 UTC
After some chatting on IRC with Owen in particular the issue came up that users apparently tend to target the icon as there's no indication that the entire summary-source is click-able. I figured I would address this since it's a fairly prominent and frequently used piece of UI. 

This relies on Dan's work in bug 630842 to be at its most effective.
Comment 1 Jonathan Strander 2011-03-09 23:54:21 UTC
Created attachment 183034 [details] [review]
Update style for message tray summary-sources

Users may have difficulty realizing that the entire
summary-source is clickable including the title. In
order to clarify this create a border wrapper around
each summary-source and "buttonize" it with a
background-color. Additionally style source-titles
so they match other UI elements in the shell.
Comment 2 Jonathan Strander 2011-03-11 01:09:57 UTC
Per feedback from jimmac on irc requesting a style more similar to the mockup here: http://git.gnome.org/browse/gnome-shell-design/plain/mockups/static/notifications-music-playback.png I redid this from scratch. A few notes:

1) This still depends on bug 630842 to be most effective.
2) This currently also relies on a change to .summary-source-button to allow the new property/pseudo-class :expanded. Florian said he'd knock out a quick patch for it, in the meantime I've added the hooks in the CSS so it will work once it exists.

Patch forthcoming.
Comment 3 Jonathan Strander 2011-03-11 01:56:59 UTC
Created attachment 183113 [details] [review]
Update style for message tray summary-sources

Users may have difficulty realizing that the entire
summary-source, including the title, is clickable. To
clarify this to the user pre-light summary-sources so
they match other UI elements in the shell, in
particular the panel.
Comment 4 Jonathan Strander 2011-03-11 04:00:33 UTC
Created attachment 183116 [details] [review]
Add source-button-border SVG

Previously we were using the same border-image as the
panel, but the SVG had more padding than we required
which caused the border to not wrap the entire lower
portion of summary-sources. Create a new border image
just for summary sources and use it.
Comment 5 William Jon McCann 2011-03-13 18:38:40 UTC
The glow effect is currently used for selected menu like items.  It says that this item is "on".

I don't like using that effect for a prelight.
Comment 6 William Jon McCann 2011-03-13 19:42:07 UTC
I think we should just do the same as for bug 609576.
Comment 7 Jonathan Strander 2011-03-14 00:30:00 UTC
So in this case we should change summary-sources to another color normally, say color: #ccc and hover: { color: #fff }, and expanded show the glow effect.

But that doesn't necessarily solve the problem of a user not being able to identify that the title is clickable and not just the icon since there wouldn't be any realization of initial feedback.

I'll squash something new together though based on your instructions and then fmuellner just has to submit his patch.
Comment 8 Jonathan Strander 2011-03-14 00:56:52 UTC
Created attachment 183311 [details] [review]
Update style for message tray summary-sources

Users may have difficulty realizing that the entire
summary-source is clickable including the title. In
order to clarify this to the user prelight them on
hover. Additionally add a style so that when they
are expanded the appearance will be similar to that
of panel items.
Comment 9 Jonathan Strander 2011-03-15 01:27:50 UTC
Created attachment 183398 [details] [review]
Update-style-for-message-tray-summary-sources

Rebased off of master.
Comment 10 Jonathan Strander 2011-03-15 01:35:05 UTC
Attached a rebase here and to bug 609576. Jon said he had trouble getting it to apply. Not sure why. Anyway just tested git bz apply and it works fine, although I apparently left a whitespace because I'm a jerk.
Comment 11 Jonathan Strander 2011-03-15 04:57:58 UTC
After talking with Jon we came to the conclusion that this should be split up into multiple patches so changes can be pushed faster. So for now I'll post just the patch which changes the color: of summary-sources in order to prelight them.

The styling for the to-be-added :expanded method will be posted in a new bug.
Comment 12 Jonathan Strander 2011-03-15 04:58:54 UTC
Created attachment 183402 [details] [review]
Prelight summary-sources

Users may have difficulty realizing that the entire
summary-source is clickable including the title. In
order to clarify this to the user prelight them on
hover.
Comment 13 Jonathan Strander 2011-03-15 23:05:58 UTC
Created attachment 183473 [details] [review]
Prelight-summary-sources

Fix author and contact information.
Comment 14 Marina Zhurakhinskaya 2011-03-21 03:09:38 UTC
Review of attachment 183473 [details] [review]:

Thanks for coming up with these patches!

In the interests of time I merged this patch with the one in bug 644788. My one change to it was that I removed keeping the summary item text gray when it is not hovered over because the only time it is visible is when you hover to the left of the left-most item, and I think it is odd and distracting.
Comment 15 Florian Müllner 2011-03-22 02:45:02 UTC
Anything left here?
Comment 16 Jonathan Strander 2011-03-22 13:30:47 UTC
Nope.

Marking Resolved due to bug 644788 being committed.