Closed Bug 297286 Opened 20 years ago Closed 20 years ago

Changing Color breaks "Set as desktop background"

Categories

(Toolkit :: UI Widgets, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta3

People

(Reporter: g.teunis, Assigned: asaf)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050610 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050610 Firefox/1.0+ When the Color is changed the "Set wallpaper" button doesn't work. Reproducible: Always Steps to Reproduce: 1. Right-click a image and select "Set as wallpaper" 2. Change the color 3. Click on "Set wallpaper" button Actual Results: Nothing happens Expected Results: The wallpaper should be set, and the "set as wallpaper" should disappear.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050610 Firefox/1.0+ ID:2005061019 Confirming. This is definitely a regression.
Seing this as well, no js errors in js console --> NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
When did this regress?
(In reply to comment #3) > When did this regress? I checked back to 2005-05-30-05-trunk, all have the bug. Fx 1.0 release did not have this bug. Anyone knows a ftp with all/more nightly build?
(In reply to comment #4) > Anyone knows a ftp with all/more nightly build? http://archive.mozilla.org/
Thanks, it regressed between 20050224 and 20050225 build. Not that great work tracing this regression down :-)
(In reply to comment #6) > Thanks, it regressed between 20050224 and 20050225 build. > Not that great work tracing this regression down :-) Forgot to mention: I've tested the win32 builds (regressed between 2005-03-24-07-trunk and 2005-03-25-08-trunk)
cc:ing Mike Connor to see if he knows what bug might have caused this
This is a regression from Ben's pref dialog rewrite, specifically, the colorpicker.xml changes. http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=colorpicker.xml&branch=&root=/cvsroot&subdir=mozilla/toolkit/content/widgets&command=DIFF_FRAMESET&rev1=1.7&rev2=1.8 There's something wacky going on with generated events. Ben might not have considered the use of colorpicker's other than those used by the PrefWindow.
Keywords: useless-UI
Version: unspecified → Trunk
Flags: blocking1.8b3?
Assignee: nobody → bugs
Flags: blocking1.8b4+
Flags: blocking1.8b3?
Flags: blocking1.8b3-
-> me for investigation.
Assignee: bugs → bugs.mano
Priority: -- → P2
Target Milestone: --- → Firefox1.1
Status: NEW → ASSIGNED
Component: General → XUL Widgets
OS: Windows XP → All
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Hardware: PC → All
Summary: Changing Color breaks "Set as wallpaper" → Changing Color breaks "Set as desktop background"
Target Milestone: Firefox1.1 → mozilla1.8beta3
Version: Trunk → unspecified
Attached patch patchSplinter Review
The onchange event in setDefaultBackground.xul reffers to |this.color|; however the new |_fireEvent| method (in colorpicker.xml) doesn't fire the event function with the right context object (which should be |aTarget|). The attached patch also fixes a stupid js warning and the same error in the preferences binding.
Attachment #188251 - Flags: first-review?(mconnor)
Comment on attachment 188251 [details] [diff] [review] patch please fix the bogus spacing in both places in the var rv = lines
Attachment #188251 - Flags: first-review?(mconnor) → first-review+
Comment on attachment 188251 [details] [diff] [review] patch Might be too late for b3
Attachment #188251 - Flags: approval1.8b3?
and re-nominating...
Flags: blocking1.8b3- → blocking1.8b3?
In case this fix will be landed for b3/a2, the preferences dialog (the colors preferences dialog in particular) should be tested.
Attachment #188251 - Flags: approval1.8b3? → approval1.8b3+
There was bug 298665 filed for the actual widget work (see depends). Guess that can be duped here now.
Checking in colorpicker.xml; /cvsroot/mozilla/toolkit/content/widgets/colorpicker.xml,v <-- colorpicker.xml new revision: 1.10; previous revision: 1.9 done Checking in preferences.xml; /cvsroot/mozilla/toolkit/content/widgets/preferences.xml,v <-- preferences.xml new revision: 1.22; previous revision: 1.21 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Flags: blocking1.8b3?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: