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 693650 - User account panel - issues with hint texts
User account panel - issues with hint texts
Status: RESOLVED FIXED
Product: gnome-initial-setup
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Initial Setup maintainer(s)
GNOME Initial Setup maintainer(s)
Depends on:
Blocks: 702129
 
 
Reported: 2013-02-12 14:40 UTC by Allan Day
Modified: 2014-05-29 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (575.64 KB, image/png)
2013-02-12 14:40 UTC, Allan Day
  Details
slight re-arrange (25.79 KB, image/png)
2013-05-22 14:30 UTC, Michael Wood
  Details
account: Re-arrange the layout so that the hint texts align better (4.79 KB, patch)
2013-05-22 15:09 UTC, Michael Wood
none Details | Review
account: design changes of local part (12.08 KB, patch)
2014-04-16 14:35 UTC, Ondrej Holy
committed Details | Review
screenshots of the redesigned page (82.14 KB, image/png)
2014-04-16 14:36 UTC, Ondrej Holy
  Details

Description Allan Day 2013-02-12 14:40:56 UTC
Created attachment 235777 [details]
screenshot

The hint texts are misaligned (they should have the same horizontal alignment). They should also be dimmed (ie. grey).

Screenshot is attached.
Comment 1 Michael Wood 2013-05-22 14:30:12 UTC
Created attachment 245042 [details]
slight re-arrange

This would fix #700319 as well, any thoughts?
Comment 2 Michael Wood 2013-05-22 15:09:11 UTC
Created attachment 245046 [details] [review]
account: Re-arrange the layout so that the hint texts align better

This means that the longer translations for hints do not resize the
window and that the hint texts are aligned correctly to the input texts.
Comment 3 Michael Wood 2013-06-06 15:26:12 UTC
With strength label/level moved up: http://i.imgur.com/wTpx5XN.png
Comment 4 Ondrej Holy 2014-04-11 13:12:41 UTC
Working on changes to be corresponding with g-c-c user accounts panel.
Comment 5 Ondrej Holy 2014-04-16 14:35:22 UTC
Created attachment 274461 [details] [review]
account: design changes of local part

Design changes are done according mockup. It corresponds with User Accounts panel in Gnome Control Center.

Use checkmarks to indicate correct values instead of checkmarks. Alignment of hints is changed. Hints are dimmed and dynamic.
Comment 6 Ondrej Holy 2014-04-16 14:36:19 UTC
Created attachment 274462 [details]
screenshots of the redesigned page
Comment 7 Jasper St. Pierre (not reading bugmail) 2014-04-16 15:12:58 UTC
Review of attachment 274461 [details] [review]:

Design looks good. "Use checkmarks to indicate correct values instead of checkmarks" ?

::: gnome-initial-setup/pages/account/um-utils.c
@@ +242,3 @@
         if (!empty && (in_use || too_long || !valid)) {
                 if (in_use) {
+                        *tip = g_strdup_printf (_("A user with the username '%s' already exists."),

I assume these string changes come from g-c-c and have been acked by the designers ?
Comment 8 Ondrej Holy 2014-04-17 10:58:26 UTC
Thanks for the review.

(In reply to comment #7)
> Review of attachment 274461 [details] [review]:
> 
> Design looks good. "Use checkmarks to indicate correct values instead of
> checkmarks" ?

...instead of stop signs. Will fix it later.

> ::: gnome-initial-setup/pages/account/um-utils.c
> @@ +242,3 @@
>          if (!empty && (in_use || too_long || !valid)) {
>                  if (in_use) {
> +                        *tip = g_strdup_printf (_("A user with the username
> '%s' already exists."),
> 
> I assume these string changes come from g-c-c and have been acked by the
> designers ?

Most of the code is copied/inspired from the g-c-c, however I've changed those strings to have '.' at the end. In g-c-c there is: hint = g_strdup_printf ("%s.", tip). Would be better to do that also this way, to have identical code in um-utils.c and same strings for translation?

Would be best to share those codes with g-c-c and don't have it twice, however not sure, how to do that...
Comment 9 Jasper St. Pierre (not reading bugmail) 2014-04-17 15:04:35 UTC
(In reply to comment #8)
> Most of the code is copied/inspired from the g-c-c, however I've changed those
> strings to have '.' at the end. In g-c-c there is: hint = g_strdup_printf
> ("%s.", tip). Would be better to do that also this way, to have identical code
> in um-utils.c and same strings for translation?

Yes. The "%s." is terrible anyway, because some languages might not use periods for punctuation anyway, or they might not be at the end of a string.
Comment 10 Allan Day 2014-04-22 14:23:37 UTC
(In reply to comment #6)
> Created an attachment (id=274462) [details]
> screenshots of the redesigned page

The colour and alignment of the text in the screenshot looks good. Is the text new? Where did it come from?
Comment 11 Ondrej Holy 2014-04-24 11:58:06 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Most of the code is copied/inspired from the g-c-c, however I've changed those
> > strings to have '.' at the end. In g-c-c there is: hint = g_strdup_printf
> > ("%s.", tip). Would be better to do that also this way, to have identical code
> > in um-utils.c and same strings for translation?
> 
> Yes. The "%s." is terrible anyway, because some languages might not use periods
> for punctuation anyway, or they might not be at the end of a string.

I have filed new bug to sync text into g-c-c:
https://bugzilla.gnome.org/show_bug.cgi?id=728870

(In reply to comment #10)
> (In reply to comment #6)
> > Created an attachment (id=274462) [details] [details]
> > screenshots of the redesigned page
> 
> The colour and alignment of the text in the screenshot looks good. Is the text
> new? Where did it come from?

Text isn't new. Text comes from g-c-c, see the Add User dialog :-)

Some of them was there before and some of them are from yours mockups:
https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/users/add-user-account.png
Comment 12 Ondrej Holy 2014-05-29 17:00:11 UTC
Comment on attachment 274461 [details] [review]
account: design changes of local part

commit 86aa54c56edb8d48a3e34e859f8de99d4d553668