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 725830 - Lightbox: complete radial effect for modal dialogs
Lightbox: complete radial effect for modal dialogs
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: 2014-03-06 15:19 UTC by Giovanni Campagna
Modified: 2014-03-11 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Lightbox: complete radial effect for modal dialogs (10.30 KB, patch)
2014-03-06 15:19 UTC, Giovanni Campagna
reviewed Details | Review
Lightbox: complete radial effect for modal dialogs (12.69 KB, patch)
2014-03-10 17:28 UTC, Giovanni Campagna
committed Details | Review
Screenshot after the patch (1.36 MB, image/png)
2014-03-10 17:32 UTC, Giovanni Campagna
  Details

Description Giovanni Campagna 2014-03-06 15:19:11 UTC
This completes bug 669798
Comment 1 Giovanni Campagna 2014-03-06 15:19:15 UTC
Created attachment 271115 [details] [review]
Lightbox: complete radial effect for modal dialogs

Rework the radial effect to use similar code to MetaBackground,
and adjust parameters to make it more noticeable.
Comment 2 drago01 2014-03-08 16:25:20 UTC
Review of attachment 271115 [details] [review]:

Code looks good to me, just some minor comments. 

Make sure to get a design ack before pushing.

::: js/ui/lightbox.js
@@ +166,2 @@
             Tweener.addTween(this.actor,
+                             { brightness: 0.8,

Use a constant instead of a magic number.

@@ +166,3 @@
             Tweener.addTween(this.actor,
+                             { brightness: 0.8,
+                               vignetteSharpness: 0.7,

Same here.

::: src/shell-glsl-quad.c
@@ +161,3 @@
+
+int
+shell_glsl_quad_get_uniform_location (ShellGLSLQuad *quad,

Adding a doc commnt wouldm't hurt even for a trival function like this.
Comment 3 Giovanni Campagna 2014-03-10 17:28:36 UTC
Created attachment 271452 [details] [review]
Lightbox: complete radial effect for modal dialogs

Rework the radial effect to use similar code to MetaBackground,
and adjust parameters to make it more noticeable.
Comment 4 Giovanni Campagna 2014-03-10 17:32:04 UTC
Created attachment 271453 [details]
Screenshot after the patch
Comment 5 drago01 2014-03-10 20:52:23 UTC
Review of attachment 271452 [details] [review]:

Looks good.
Comment 6 Giovanni Campagna 2014-03-10 20:54:22 UTC
Waiting for final design approval.
Comment 7 Allan Day 2014-03-11 15:17:24 UTC
(In reply to comment #6)
> Waiting for final design approval.

Looks good to me and Jakub!
Comment 8 Giovanni Campagna 2014-03-11 16:15:11 UTC
Attachment 271452 [details] pushed as fc4bc52 - Lightbox: complete radial effect for modal dialogs