Closed
Bug 385503
Opened 18 years ago
Closed 18 years ago
'Set Desktop Background' on an image large than screen and position=center preview is too large
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 3 alpha7
People
(Reporter: alfredkayser, Assigned: dao)
References
()
Details
Attachments
(1 file, 2 obsolete files)
1.50 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
'Set Desktop Background' on an image large than screen and position=center preview is too large.
Browse to very large image (see URL above) (larger than your screen size), and select 'Set As Desktop Background' and select 'center' in position. The monitor and the image itself then becomes much larger than the window.
Comment 1•18 years ago
|
||
Probably caused by bug 362239.
Reporter | ||
Comment 2•18 years ago
|
||
overflow:hidden and using negative margins places the image in the right position.
Assignee: nobody → alfredkayser
Status: NEW → ASSIGNED
Attachment #269442 -
Flags: review?(gavin.sharp)
Reporter | ||
Comment 3•18 years ago
|
||
Attachment #269442 -
Attachment is obsolete: true
Attachment #269447 -
Flags: review?(gavin.sharp)
Attachment #269442 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 4•18 years ago
|
||
If #monitor needs overflow:hidden (in bug 362239, I wasn't sure why that existed) and an explicit width/height, why not move that to the style sheet? (In return, you can remove the right and bottom margins.)
The margins for the image shouldn't be needed, given that they weren't there before bug 362239 was fixed.
Assignee | ||
Comment 5•18 years ago
|
||
I have a stylesheet-only fix for this (the regression from bug 362239, that is). Do you want me to create a patch?
Your negative margins actually fix another bug, which is also present in Firefox 2.
Do we want to split this into two bugs?
Assignee | ||
Comment 6•18 years ago
|
||
Ok, since I caused the regression, I'll just do it.
Alfred, I think you're on track with your negative margins. I think fixing the centering deserves a separate bug though.
Assignee: alfredkayser → dao
Attachment #269447 -
Attachment is obsolete: true
Attachment #269523 -
Flags: review?(gavin.sharp)
Attachment #269447 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•18 years ago
|
Attachment #269523 -
Flags: review?(gavin.sharp) → review?(mano)
Comment 7•18 years ago
|
||
Comment on attachment 269523 [details] [diff] [review]
patch
r=mano, untested though.
Attachment #269523 -
Flags: review?(mano) → review+
Assignee | ||
Comment 8•18 years ago
|
||
I did test the Winstripe part, can't test Pinstripe. The monitor images have the same "screen" size (i.e. 153 x 114 px), so it shouldn't make a difference.
Alfred, one final note: If you file a bug for the centering fix, please CC me (if you don't, I might file one later on.)
Whiteboard: [checkin needed]
Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Firefox 3 beta1
Comment 9•18 years ago
|
||
Checked in attachmentt 269523.
Checking in browser/themes/pinstripe/browser/setDesktopBackground.css;
/cvsroot/mozilla/browser/themes/pinstripe/browser/setDesktopBackground.css,v <-- setDesktopBackground.css
new revision: 1.3; previous revision: 1.2
done
Checking in browser/themes/winstripe/browser/setDesktopBackground.css;
/cvsroot/mozilla/browser/themes/winstripe/browser/setDesktopBackground.css,v <-- setDesktopBackground.css
new revision: 1.3; previous revision: 1.2
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Updated•18 years ago
|
Flags: in-litmus?
Comment 10•18 years ago
|
||
Litmus Triage Team: tomcat will add the test case for this one.
Comment 11•18 years ago
|
||
Litmus Triage Team: stephend will handle this test case.
Comment 12•17 years ago
|
||
If we want a Litmus test case for this we need a new sample since the URL now gives a 404 error. Thanks.
Comment 13•17 years ago
|
||
Marcia, you just need to use an image that's larger than your monitor's resolution. An image that's larger than 2560x1600 (the resolution of a 30" monitor) would probably work since not many people are going to be running resolutions larger than that. For example: http://flickr.com/photos/johnath/2724738037/sizes/o/.
You need to log in
before you can comment on or make changes to this bug.
Description
•