Logo and throbber images off-center
Bug #420495 reported by
Hernando Torque
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xsplash |
Fix Released
|
Low
|
Cody Russell | ||
xsplash (Ubuntu) |
Fix Released
|
Low
|
Cody Russell |
Bug Description
Binary package hint: xsplash
Both logo and throbber images are off-center to the right.
This is a 1278px wide logo on a 1280px screen: http://
There should be one pixel to the left but there are 22px, so it's 21px off (same amount for the throbber). Doesn't matter if I'm running with metacity or compiz. I just took a quick look at the code and image placement should be right, so I'm not sure this is a Xsplash bug.
xsplash:
Installed: 0.6-0ubuntu1
Candidate: 0.6-0ubuntu1
nvidia-glx-185:
Installed: 185.18.36-0ubuntu2
Candidate: 185.18.36-0ubuntu2
Related branches
lp:~bratsche/xsplash/logo-placement
Merged
into
lp:xsplash
- Neil J. Patel (community): Approve
- Diff: None lines
description: | updated |
Changed in xsplash (Ubuntu): | |
importance: | Undecided → Low |
assignee: | nobody → Cody Russell (bratsche) |
Changed in xsplash: | |
importance: | Undecided → Low |
assignee: | nobody → Cody Russell (bratsche) |
Changed in xsplash: | |
status: | New → Fix Committed |
Changed in xsplash: | |
status: | Fix Committed → Fix Released |
Changed in xsplash (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
The problem occurs when background images get scaled. Because the scaled pixbuf will be larger than the screen (if the factors calculated in scale_to_min in xsplash.c differ), logo and throbber will later get placed off-center (horizontally or vertically).
I think it should be sufficient to use width and height from priv->screen when placing logo and throbber.