Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 175303 - what to do about widescreen monitors and the default background...
Summary: what to do about widescreen monitors and the default background...
Status: CLOSED DUPLICATE of bug 176371
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-logos
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
: 177176 (view as bug list)
Depends On:
Blocks: FC6Target FC6Desktop
TreeView+ depends on / blocked
Reported: 2005-12-08 17:53 UTC by Jeremy Katz
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-07-26 19:00:25 UTC

Attachments (Terms of Use)
testimage.svg (deleted)
2006-02-02 04:19 UTC, Matthias Clasen
no flags Details
image1.png (deleted)
2006-02-02 04:21 UTC, Matthias Clasen
no flags Details
image2.png (deleted)
2006-02-02 04:22 UTC, Matthias Clasen
no flags Details

Description Jeremy Katz 2005-12-08 17:53:36 UTC
As widescreen monitors get more common, stretching of the background makes
things look less than ideal.  We should probably try to do something more

Comment 1 Ray Strode [halfline] 2005-12-08 18:14:37 UTC
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

Comment 2 Jeremy Katz 2005-12-08 19:01:57 UTC
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 ;-)

Comment 3 Ray Strode [halfline] 2005-12-08 19:07:15 UTC

By "image in the default install" I meant "default background image" :-).  I
didn't mean doing anything at install time.

Comment 4 Ray Strode [halfline] 2006-01-11 19:54:36 UTC
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

Comment 5 Ray Strode [halfline] 2006-01-27 21:07:14 UTC
Diana sent me the files, i'll try to look into it soon.

Comment 6 Matthias Clasen 2006-02-02 04:17:32 UTC
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 
       x="0" y="0"
       width="100%" height="100%"

This means: fill the full size of the svg with the image

3) Add the decorations (ie the text, bubbles and smoke on transparent
background) with
       x="0" y="0"
       width="100%" height="100%"
       preserveAspectRatio="xMaxYMid meet"

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.

Comment 7 Matthias Clasen 2006-02-02 04:19:26 UTC
Created attachment 124024 [details]

Comment 8 Matthias Clasen 2006-02-02 04:21:27 UTC
Created attachment 124025 [details]

Comment 9 Matthias Clasen 2006-02-02 04:22:14 UTC
Created attachment 124026 [details]

Comment 10 Matthias Clasen 2006-02-02 18:48:11 UTC
Ok, scratch this, it doesn't actually work.
SVG seems to not be the right tool for this job

Comment 11 Matthias Clasen 2006-02-05 04:47:02 UTC
*** Bug 177176 has been marked as a duplicate of this bug. ***

Comment 12 Matthias Clasen 2006-07-06 21:58:13 UTC
Add to FC6Destop tracker

Comment 13 Alexander Larsson 2006-07-26 19:00:25 UTC
Doing this smart seems hard, I'm just adding a new wide background. Duping to
other bug.

*** This bug has been marked as a duplicate of 176371 ***

Note You need to log in before you can comment on or make changes to this bug.