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 684573 - Lock screen - shield should have a semi-transparent top bar and cover the standard black one
Lock screen - shield should have a semi-transparent top bar and cover the sta...
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: lock-screen
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-21 17:15 UTC by Allan Day
Modified: 2012-11-21 12:11 UTC
See Also:
GNOME target: ---
GNOME version: 3.5/3.6


Attachments
panelCorner: Only overlap panel if necessary (2.05 KB, patch)
2012-09-21 20:54 UTC, Florian Müllner
committed Details | Review
panel: Remove .in-overview style class (1.06 KB, patch)
2012-09-21 20:54 UTC, Florian Müllner
committed Details | Review
sessionMode: Add panelStyle property (3.10 KB, patch)
2012-09-21 20:54 UTC, Florian Müllner
committed Details | Review
theme: Style the panel differently according to mode (1.48 KB, patch)
2012-09-21 20:54 UTC, Florian Müllner
none Details | Review
theme: Style the panel differently according to mode (1.22 KB, patch)
2012-09-22 12:02 UTC, Florian Müllner
none Details | Review
screenshot (728.97 KB, image/png)
2012-11-05 17:17 UTC, Allan Day
  Details
style: Tweak panel style (1.47 KB, patch)
2012-11-05 18:06 UTC, Florian Müllner
none Details | Review
theme: Style the panel differently according to mode (1.98 KB, patch)
2012-11-05 18:20 UTC, Florian Müllner
committed Details | Review

Description Allan Day 2012-09-21 17:15:18 UTC
The lock behaves like a shield overlaid on top of the existing view. When the shield slides down, it should cover the black top bar, maintaining the impression that it is obscuring the content below.

The mockups also call for a semi-transparent panel to be used instead of the black top bar. See:

https://raw.github.com/gnome-design-team/gnome-mockups/master/system-lock-login-boot/lock-no-messages.png
Comment 1 Allan Day 2012-09-21 17:34:13 UTC
Also, note that the login screen shouldn't have the black top bar either:

https://github.com/gnome-design-team/gnome-mockups/raw/master/system-lock-login-boot/unlock.png
Comment 2 Florian Müllner 2012-09-21 20:54:30 UTC
Created attachment 224952 [details] [review]
panelCorner: Only overlap panel if necessary

The panel corners overlap the panel in order to hide the underline
used for active buttons where it is supposed to arc downwards
following the roundness of the corner.
Unfortunately this prevents us from using a transparent panel background,
as the overlapped area ends up with the wrong transparency. Work around
this limitation by only overlapping the panel if there is a visible
border.
Comment 3 Florian Müllner 2012-09-21 20:54:36 UTC
Created attachment 224953 [details] [review]
panel: Remove .in-overview style class

The panel used to be styled differently in the overview, but
nowadays this is just a left-over.
Comment 4 Florian Müllner 2012-09-21 20:54:44 UTC
Created attachment 224954 [details] [review]
sessionMode: Add panelStyle property

The panel should change appearance according to the sessionMode,
so add a new panelStyle sessionMode property which allows to
specify a mode specific style class for the panel actors.
Comment 5 Florian Müllner 2012-09-21 20:54:50 UTC
Created attachment 224955 [details] [review]
theme: Style the panel differently according to mode
Comment 6 Jasper St. Pierre (not reading bugmail) 2012-09-22 00:32:41 UTC
(In reply to comment #1)
> Also, note that the login screen shouldn't have the black top bar either:
> 
> https://github.com/gnome-design-team/gnome-mockups/raw/master/system-lock-login-boot/unlock.png

Is there just a border sticking out in the middle no where when opening the menu for this one?
Comment 7 Jakub Steiner 2012-09-22 10:24:06 UTC
> Is there just a border sticking out in the middle no where when opening the
> menu for this one?

https://raw.github.com/gnome-design-team/gnome-mockups/master/system-lock-login-boot/unlock-menu.png
Comment 8 Florian Müllner 2012-09-22 12:02:06 UTC
Created attachment 224971 [details] [review]
theme: Style the panel differently according to mode

Remove rounded corners in (un)lock- and login-screen as in the mockups - this means the panelCorner patch isn't necessary anymore to make this work.
Comment 9 André Klapper 2012-09-25 11:10:42 UTC
UI changes => 3.7 stuff.
Comment 10 Allan Day 2012-11-05 17:17:08 UTC
Created attachment 228159 [details]
screenshot

Looks good, Florian! A couple of minor issues:

 * the user name and icons need to be lighter
 * if possible, the bar would benefit from being a little bit taller
Comment 11 Florian Müllner 2012-11-05 18:06:08 UTC
Created attachment 228171 [details] [review]
style: Tweak panel style

(In reply to comment #10)
>  * the user name and icons need to be lighter
>  * if possible, the bar would benefit from being a little bit taller

Sure - something like that? Feel free to tweak to your liking
(the last patch is obviously meant to be squashed later)
Comment 12 Allan Day 2012-11-05 18:18:16 UTC
Looks good to me, and Jimmac says it's hot. :)
Comment 13 Florian Müllner 2012-11-05 18:20:13 UTC
Created attachment 228174 [details] [review]
theme: Style the panel differently according to mode

OK, squashing the patches then ...
Comment 14 Jasper St. Pierre (not reading bugmail) 2012-11-05 19:01:52 UTC
Review of attachment 228174 [details] [review]:

::: data/theme/gnome-shell.css
@@ +513,3 @@
+#panel.unlock-screen .panel-button:hover,
+#panel.lock-screen .panel-button:hover,
+#panel.login-screen .panel-button:hover,

Uh, we can't do something about this? A single shared style class maybe?
Comment 15 Florian Müllner 2012-11-12 19:04:13 UTC
(In reply to comment #14)
> +#panel.unlock-screen .panel-button:hover,
> +#panel.lock-screen .panel-button:hover,
> +#panel.login-screen .panel-button:hover,
> 
> Uh, we can't do something about this? A single shared style class maybe?

Only if we hook it up in sessionMode, which I think makes sense for a central component like the top bar, but not really for .panel-buttons. .unlock-screen and .login-screen are using the same style, though that'll only safe 6 lines ...
Comment 16 Jasper St. Pierre (not reading bugmail) 2012-11-12 19:24:19 UTC
Review of attachment 228174 [details] [review]:

This is fine with me.
Comment 17 Allan Day 2012-11-20 09:46:39 UTC
What's the status of this?
Comment 18 Florian Müllner 2012-11-20 09:48:17 UTC
More review needed...
Comment 19 Jasper St. Pierre (not reading bugmail) 2012-11-20 16:23:38 UTC
Review of attachment 224952 [details] [review]:

hack hack hack hack hack hack hack hack

but sure, it's not like I have any better idea
Comment 20 Jasper St. Pierre (not reading bugmail) 2012-11-20 16:24:21 UTC
Review of attachment 224953 [details] [review]:

Sure, I guess.
Comment 21 Jasper St. Pierre (not reading bugmail) 2012-11-20 16:24:39 UTC
Review of attachment 224954 [details] [review]:

uh, OK
Comment 22 Florian Müllner 2012-11-20 16:37:28 UTC
(In reply to comment #19)
> Review of attachment 224952 [details] [review]:
> 
> hack hack hack hack hack hack hack hack
> 
> but sure, it's not like I have any better idea

Well, as mentioned in comment #8, this patch is no longer required by the current design, so we could just leave it out ...
Comment 23 Florian Müllner 2012-11-21 12:11:28 UTC
Attachment 224952 [details] pushed as a112bfd - panelCorner: Only overlap panel if necessary
Attachment 224953 [details] pushed as c0f868d - panel: Remove .in-overview style class
Attachment 224954 [details] pushed as 2511f60 - sessionMode: Add panelStyle property
Attachment 228174 [details] pushed as f0f7165 - theme: Style the panel differently according to mode