Closed
Bug 346150
Opened 19 years ago
Closed 19 years ago
Fix setting an image as wallpaper in Cairo builds
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mcsmurf, Assigned: mcsmurf)
Details
Attachments
(2 files)
|
2.97 KB,
patch
|
jag+mozilla
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
|
2.95 KB,
patch
|
Details | Diff | Splinter Review |
When you in SeaMonkey cairo builds currently try to set an image as wallpaper you either get this error in Error Console:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWindowsHooks.setImageAsWallpaper]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://communicator/content/nsContextMenu.js :: anonymous :: line 612" data: no]
or your image will be turned upside down and twisted when it's set as wallpaper.
The attached patch will fix this, it's the patch from Bug 328354 ported to SeaMonkey winhooks code.
| Assignee | ||
Comment 1•19 years ago
|
||
Assignee: guifeatures → bugzilla
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 230945 [details] [diff] [review]
Patch
This patch basically already got review in Bug 328354, so you do not need to re-check everything.
Attachment #230945 -
Flags: superreview?(jag)
Attachment #230945 -
Flags: review?(jag)
Comment 3•19 years ago
|
||
Comment on attachment 230945 [details] [diff] [review]
Patch
Move the |rv = NS_OK;| before the |do|-loop and r+sr=jag
Attachment #230945 -
Flags: superreview?(jag)
Attachment #230945 -
Flags: superreview+
Attachment #230945 -
Flags: review?(jag)
Attachment #230945 -
Flags: review+
| Assignee | ||
Comment 4•19 years ago
|
||
| Assignee | ||
Comment 5•19 years ago
|
||
Patch has been checked in by timeless.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
Verified FIXED using:
Configure arguments
--enable-application=suite --enable-default-toolkit=cairo-windows --without-system-jpg --without-system-zlib --enable-extensions=default,tasks --enable-crypto --disable-auto-deps --disable-debug --enable-optimize --enable-svg --enable-canvas
build ID: 2006-10-15-06 of SeaMonkey trunk under Windows XP; I successfully set images as wallpaper from the browser.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•