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 660913 - focus selection isn't right
focus selection isn't right
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: login-screen
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
: 662713 (view as bug list)
Depends on:
Blocks: 658185
 
 
Reported: 2011-10-04 18:45 UTC by Bill Nottingham
Modified: 2012-07-31 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
loginDialog: Update user list style (2.82 KB, patch)
2012-07-19 18:16 UTC, Florian Müllner
none Details | Review
gdm: Adjust timed-login indicator (5.05 KB, patch)
2012-07-19 18:17 UTC, Florian Müllner
none Details | Review
Screenshot with patches applied (264.22 KB, image/png)
2012-07-19 18:18 UTC, Florian Müllner
  Details
loginDialog: Update user list style (3.89 KB, patch)
2012-07-24 10:20 UTC, Florian Müllner
committed Details | Review
gdm: Adjust timed-login indicator (5.13 KB, patch)
2012-07-24 10:21 UTC, Florian Müllner
reviewed Details | Review
gdm: Adjust timed-login indicator (6.25 KB, patch)
2012-07-25 13:42 UTC, Florian Müllner
none Details | Review
gdm: Adjust timed-login indicator (6.70 KB, patch)
2012-07-25 17:02 UTC, Florian Müllner
committed Details | Review
loginDialog: Tweak automatic scroll animation (1.37 KB, patch)
2012-07-25 17:14 UTC, Florian Müllner
committed Details | Review

Description Bill Nottingham 2011-10-04 18:45:45 UTC
The default color scheme for the login dialog is white active text and gray inactive text. The avatars for users should be desaturated/greyed out in a similar way until the user is selected.

gdm-3.2.0-1.fc16
Comment 1 Bill Nottingham 2011-10-04 19:29:30 UTC
gnome-shell-3.2.0-2.fc16.x86_64
Comment 2 Ray Strode [halfline] 2011-10-17 05:56:12 UTC
do you mean the avatars themselves, or just the borders around the avatars?
Comment 3 Ray Strode [halfline] 2011-10-17 06:01:32 UTC
So I just tried making the border of the active item turn bright white like the text and it looks really strange.

I'm worried desaturating the user's face might look strange too.

I guess we need designer feedback here to know the right way to proceed.
Comment 4 Bill Nottingham 2011-10-17 15:21:50 UTC
The case I was using is that my avatar has a lot of bright white in it already. Maybe it's specific to that avatar that it looks out of place.
Comment 5 Ray Strode [halfline] 2011-10-17 15:54:27 UTC
oh so desaturating wouldn't even be enough for you, you'd need it actually dimmed (since the color white is already fully desaturated)
Comment 6 Jakub Steiner 2011-10-17 16:14:48 UTC
Bug 658185 is worth noting as it seems a viable solution to distinguishing
running sessions from people not logged in. There are however drawbacks to it,
as people can have desaturated avatars and the default "no avatar" image is
greyscale too.

I lean towards not desaturating nor dimming the avatar as it makes it harder to identify it among a set and rather bring more focus/attention to the users with a running session (prelight+underline).
Comment 7 Ray Strode [halfline] 2011-10-25 20:44:26 UTC
generalizing and retitling
Comment 8 Ray Strode [halfline] 2011-10-25 20:46:30 UTC
*** Bug 662713 has been marked as a duplicate of this bug. ***
Comment 9 Máirín Duffy 2012-05-10 18:03:45 UTC
note that the glow that is supposed to appear under the name is not glowing but is a solid 2-3px horizontal rule that looks a bit odd, especially if you only have one suer ...
Comment 10 Florian Müllner 2012-07-19 18:16:54 UTC
Created attachment 219252 [details] [review]
loginDialog: Update user list style

Rather than changing the text color to indicate hover and an underline
to mark the focused item, use the same semi-transparent white background
as in the overview.
Comment 11 Florian Müllner 2012-07-19 18:17:00 UTC
Created attachment 219253 [details] [review]
gdm: Adjust timed-login indicator

Until the recent style changes, the same element was used to indicate
both item focus and progress for timed logins. As focus is now indicated
by the item's background style, rename the indicator from focusBin to
timedLoginIndicator and make some minor adjustments to better fit the
new style:
  - move it next to the icon below the text
  - give it a white color and a shadow
  - update animation to grow from the left instead of the center
Comment 12 Florian Müllner 2012-07-19 18:18:39 UTC
Created attachment 219254 [details]
Screenshot with patches applied

I'm not aware of any mockups for timed logins, so here's a screenshot with what I came up with ...
Comment 13 Matthias Clasen 2012-07-21 00:04:12 UTC
Can't test this currently, since timed login is not working in gdm 3.5.4.x
Comment 14 Ray Strode [halfline] 2012-07-21 05:55:55 UTC
see bug 680348 for the timed login saga.  I've pushed a stopgap to get it functioning again.
Comment 15 Florian Müllner 2012-07-24 10:20:54 UTC
Created attachment 219565 [details] [review]
loginDialog: Update user list style

Rebase to master, fix style getting out-of-sync when cancelling password entry
Comment 16 Florian Müllner 2012-07-24 10:21:07 UTC
Created attachment 219566 [details] [review]
gdm: Adjust timed-login indicator

Rebase to master
Comment 17 Florian Müllner 2012-07-24 10:23:37 UTC
(In reply to comment #13)
> Can't test this currently, since timed login is not working in gdm 3.5.4.x

There's not much to test to be honest - there shouldn't be a functional difference, just a style update (which is why I attached a screenshot ;-)
Comment 18 Matthias Clasen 2012-07-24 13:05:56 UTC
Right - but testing it revealed timed login broken, so it was good for something...
Comment 19 Ray Strode [halfline] 2012-07-24 17:28:17 UTC
Review of attachment 219566 [details] [review]:

This looks pretty good (though for unrelated reasons the styling in master is halfway between 3.4 login screen and 3.6 design).

One thing I noticed: Since we used to use the focus indicator for both focus and timed login, if the user was focused you couldn't see the results of timed login, now you can which is definitely a good thing, but it does expose a bug.  We don't stop the indicator animation tween in resetTimedLogin, so if the user arrows down and arrows back up they'll see a timed login indicator that's wrong.
Comment 20 Florian Müllner 2012-07-25 13:42:12 UTC
Created attachment 219628 [details] [review]
gdm: Adjust timed-login indicator

(In reply to comment #19)
> One thing I noticed: [...] it does expose a bug. 
> We don't stop the indicator animation tween in resetTimedLogin, so if the user
> arrows down and arrows back up they'll see a timed login indicator that's
> wrong.

Oh - I did encounter this during testing, but assumed it was the actual timeout. Should be fixed now ...
Comment 21 Florian Müllner 2012-07-25 17:02:17 UTC
Created attachment 219645 [details] [review]
gdm: Adjust timed-login indicator

I ran the changes by Jakub and he suggested a slightly different style ...
Comment 22 Florian Müllner 2012-07-25 17:14:30 UTC
Created attachment 219646 [details] [review]
loginDialog: Tweak automatic scroll animation

The current animation time of two seconds may result in some
confusion, as the reason of the behavior only becomes apprent
when the auto-activating item becomes visible; make the animation
a lot faster and ease it out a bit.

(Only marginally related to this bug, but it doesn't warrant its own)
Comment 23 Ray Strode [halfline] 2012-07-27 15:40:21 UTC
Review of attachment 219645 [details] [review]:

it's a little faint now, but I guess it doesn't need to be super in-your-face anyway.
Comment 24 Ray Strode [halfline] 2012-07-27 15:43:54 UTC
Review of attachment 219646 [details] [review]:

Probably fine, though I wonder if easing out is right for the other case we call scrollToItem (nudging the selected item front-and-center). Seems to look okay, so I guess it's good.
Comment 25 Florian Müllner 2012-07-28 13:21:45 UTC
Comment on attachment 219254 [details]
Screenshot with patches applied

Screenshot is obsolete, current patch has the jimmac-seal-of-approval, so not attaching another one
Comment 26 Florian Müllner 2012-07-28 13:29:39 UTC
Thanks for the review - could you take a look at the first patch as well?
Comment 27 Ray Strode [halfline] 2012-07-30 15:42:51 UTC
Review of attachment 219565 [details] [review]:

Nothing obviously wrong that I could see (I actually thought I already changed the status of this, weird)

::: js/gdm/loginDialog.js
@@ +311,2 @@
             item.actor.can_focus = false;
+            item.actor.remove_style_pseudo_class('focus');

you could make syncStyleClasses check for can_focus and then call syncStyleClasses here to make the code more symetrical with the hunk below.

Hard to say which way is better, it's probably subjective.
Comment 28 Florian Müllner 2012-07-31 15:54:59 UTC
Attachment 219565 [details] pushed as bfea41b - loginDialog: Update user list style
Attachment 219645 [details] pushed as 6a615f3 - gdm: Adjust timed-login indicator
Attachment 219646 [details] pushed as 5c7992b - loginDialog: Tweak automatic scroll animation

Pushed with some tweaks discussed on IRC ...