[Pkg-xfce-devel] Bug#347858: xfdesktop4: "scaled" option for bg image slightly off

Dylan Thurston dthurston at barnard.edu
Mon May 28 17:17:32 UTC 2007


On Mon, May 28, 2007 at 06:29:17PM +0200, Yves-Alexis Perez wrote:
> On lun, 2007-05-28 at 11:56 -0400, Dylan Thurston wrote:
> > On Mon, May 28, 2007 at 09:38:28AM +0200, Yves-Alexis Perez wrote:
> > > I have just checked with a 1200x801 wallpaper. I don't have the 1px
> > > problem at bottom edge, but I have it on the right edge, so it's
> > > reproducible. I've forwarded the bug upstream, and will keep you
> > > informed.
> > 
> > 1200/801 is not exactly the same as 1280/854, so it's not clear your
> > behaviour is actually a bug.  (Do you really have a 1280 x 854
> > display?)
> 
> 12O0/800 = 1,49812734082397
> 1280/854 = 1,49882903981265
> 
> And yes, I have a 1280x854 display.

1280 and 854 are nearly relatively prime; I doubt you'll be able to
reproduce the problem on your screen.  The problem is not a 1px border
on one or the other edge, the problem is a 1px border on _both_
edges.  Indeed,
  (854/801)*1200 = 1279.400749063670412
which is correctly rounded to to 1279, so the behaviour you report is
correct.

Peace,
	Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20070528/e3be85f8/attachment.pgp 


More information about the Pkg-xfce-devel mailing list