Closed Bug 525917 Opened 15 years ago Closed 15 years ago

undo doesn't work for lightweight themes / personas

Categories

(Firefox :: General, defect)

3.6 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.7a1
Tracking Status
status1.9.2 --- beta2-fixed

People

(Reporter: beltzner, Assigned: dao)

References

Details

(Keywords: verified1.9.2)

Attachments

(1 file, 1 obsolete file)

Running into a few (potentially edge) cases where "Undo" doesn't actually undo the action after installing a persona. Here's STR that I can reproduce:

1. remove addons.mozilla.org from the software install whitelist (Security options)
2. go to addons.mozilla.org/firefox/persona
3. pick a persona and "wear this"
4. click "allow"
5. click "undo"

Expected: to go back to previous persona
Actual: still shows new persona

It was pretty sticky, too. If I went into the add-ons manager and selected my previous persona, it wouldn't switch back. I had to uninstall the previous persona to get rid of the new one.

(Stephen Horlander says that he also hit this even when addons.mozilla.org was in the software install whitelist, but I wasn't able to reproduce that)
Flags: blocking-firefox3.6+
Blocks: 511104
No longer depends on: 511104
Assignee: nobody → dao
(In reply to comment #0)
> (Stephen Horlander says that he also hit this even when addons.mozilla.org was
> in the software install whitelist, but I wasn't able to reproduce that)

Yeah, judging from the chat transcript, I think Stephen's experience might be bug 522188, but as Dao pointed out on today's team call, your complaint is different.
Yes. My issue actually sounds much more like bug 522188.
Attached patch patch (obsolete) — Splinter Review
The problem was that the currentTheme data wasn't original but pointed to the persisted images. So when browser.js used that data to set the current theme, the persisted images became the primary sources.
Attachment #410478 - Flags: review?(dtownsend)
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: needs review dtownsend
Attached patch patchSplinter Review
minor cleanup
Attachment #410478 - Attachment is obsolete: true
Attachment #410479 - Flags: review?(dtownsend)
Attachment #410478 - Flags: review?(dtownsend)
Attachment #410479 - Flags: review?(dtownsend) → review+
http://hg.mozilla.org/mozilla-central/rev/138696e68064
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: needs review dtownsend
Target Milestone: --- → Firefox 3.7a1
V. Fixed Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091106 Minefield/3.7a1pre

V. Fixed Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b2pre) Gecko/20091106 Namoroka/3.6b2pre
changing status based on comment 7.  i've also verified the same on mac builds.
Status: RESOLVED → VERIFIED
Keywords: verified1.9.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: