Some blurriness in gnome desktop

Martin Sourada martin.sourada at gmail.com
Wed Oct 28 11:23:35 UTC 2009


On Wed, 2009-10-28 at 12:15 +0100, Martin Sourada wrote:
> On Wed, 2009-10-28 at 11:04 +0000, Bastien Nocera wrote:
> > On Wed, 2009-10-28 at 10:05 +0100, Martin Sourada wrote:
> > > On Wed, 2009-10-28 at 00:55 +0000, Bastien Nocera wrote:
> > > > This should be all fixed in:
> > > > http://koji.fedoraproject.org/koji/buildinfo?buildID=138704
> > > > 
> > > This one works as expected :)
> > 
> > Finally, I also updated gnome-power-manager:
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=1774321
> > 
> hrm, that one has now wrong positioning (at the top-left corner of the
> screen; testing brightness) and the progress bar is blurry. However,
> looking at the code, I fail to see, why :(
> 
Actually, I've just found the source of blurriness:
in draw_action_brightness():
+        /* draw volume meter */
+        draw_volume_boxes (window,
+                           cr,
+                           (double)window->priv->volume_level / 100.0,
+                           bright_box_x0 + 0.5,
+                           bright_box_y0 + 0.5,
+                           bright_box_width,
+                           bright_box_height);
should be
+        /* draw volume meter */
+        draw_volume_boxes (window,
+                           cr,
+                           (double)window->priv->volume_level / 100.0,
+                           bright_box_x0,
+                           bright_box_y0,
+                           bright_box_width,
+                           bright_box_height);
as you are adding the 0.5 inside the draw_volume_boxes() already.

Not sure about the positioning issue though.

Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/desktop/attachments/20091028/1a8f7e80/attachment.bin 


More information about the desktop mailing list