As widescreen monitors get more common, stretching of the background makes
things look less than ideal. We should probably try to do something more
I wonder if SVG supports hinting for graceful changes in aspect ratio...
Otherwise, maybe we could make the default have nothing complicated at the edges
(logos, gradients, etc) and just paint the vertical bars on the side the same
color as the background.
If we could tweak the image in the default install then that's the easiest way.
Otherwise we have to come up with some sort of matching heuristics to figure
out which image to load.
Coming up with a non-hacky solution for this type of problem is actually sort of
Tweaking the image at the install is poor because it won't adapt nicely to
changed monitors or things like remote X. Also, we don't know what resolution
you're going to be running at post-install in the installer and can't sanely
probe monitors because X is crap ;-)
By "image in the default install" I meant "default background image" :-). I
didn't mean doing anything at install time.
Diana, can you send me the individual layers from the default background that we
ship now? I'm going to try to play with svg and see if i can make an adaptive
Diana sent me the files, i'll try to look into it soon.
Ray, I investigated the necessary svg today.
I'll attach my testimage. Here are the relevant points:
1) Set width and height on the svg element to establish the user coordinate system
2) Add the scalable background image with
This means: fill the full size of the svg with the image
3) Add the decorations (ie the text, bubbles and smoke on transparent
This means: scale the image to fill the full size of the svg, but
only make it as large as you can while keeping the aspect ratio, and
keep all of the image within the viewport. Position the image as far
to the left as possible, and center it vertically.
Created attachment 124024 [details]
Created attachment 124025 [details]
Created attachment 124026 [details]
Ok, scratch this, it doesn't actually work.
SVG seems to not be the right tool for this job
*** Bug 177176 has been marked as a duplicate of this bug. ***
Add to FC6Destop tracker
Doing this smart seems hard, I'm just adding a new wide background. Duping to
*** This bug has been marked as a duplicate of 176371 ***