Closed Bug 134260 Opened 22 years ago Closed 8 years ago

[meta] Dynamic theme switching (change skin)

Categories

(Toolkit :: Add-ons Manager, defect, P2)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: megabyte, Unassigned)

References

Details

(Keywords: meta, regression, Whiteboard: [intent-to-close])

Dynamic theme switching keeps getting disabled because of odd behavior and
crashes, but this is one of the coolest features of Mozilla and should continue
to be worked on.
--> Skinability
Component: Themes → Skinability
Depends on: 134463
Depends on: 125518
Keywords: meta
Summary: Dynamic theme switching → [meta] Dynamic theme switching
Depends on: 88466
I think many of the crashes are now fixed (see bug 116038 and bug 121055, which
fixed a bunch of others that are marked as duplicates of those), and many if not
most of the crashers that remain (e.g., bug 124205, bug 125518) are issues that
could happen with dynamic style changes on web pages even if theme switching is
turned off (and we'd be better off finding and fixing them).
Bug 116296 is apparently about dynamic theme switching problems too.
Depends on: 116296
*** Bug 144455 has been marked as a duplicate of this bug. ***
*** Bug 156578 has been marked as a duplicate of this bug. ***
I think this should fixed as it realy gets on peoples nerves
*** Bug 168886 has been marked as a duplicate of this bug. ***
Pheonix has it. Cant we have it too?
But also for Phoenix, it is still buggy:
scrollbars don't get updated,
images from the same filename/reference (ie chrome:://global/skin/global.png)
are not reloaded,
but I haven't seen any crashes (yet).
Blocks: 155337
*** Bug 202365 has been marked as a duplicate of this bug. ***
Summary: [meta] Dynamic theme switching → [meta] Dynamic theme switching (change)
Reassigning to default owner and QA because Hewitt is "gone".
Assignee: hewitt → skinability
QA Contact: pmac
Depends on: 249655
Summary: [meta] Dynamic theme switching (change) → [meta] Dynamic theme switching (change skin)
No longer blocks: 155337
Depends on: 155337
No longer depends on: 80967, 88466, 116105, 116296, 122821, 123008, 123162, 125518, 131011, 134463
Depends on: 209052
Depends on: 245327
Depends on: 129620
See also: http://bugzilla.mozilla.org/attachment.cgi?id=151816&action=view

STEPS TO REPRODUCE
1. Click on links so that you have a session history
2. Go to Tools | Themes
3. Click Get More Themes
4. Install the most popular theme
5. Select the most popular theme in the dialog box
6. Click apply

Check that whatever feature you are investigating fixing is working.

I would recommend starting with bug 245327, which is the most obvious and
destructive bug I could see in extremely brief testing of the feature.

See also this screenshot for the kinds of bugs to look for:
   http://bugzilla.mozilla.org/attachment.cgi?id=151816&action=view
Assignee: skinability → dbaron
*** Bug 226791 has been marked as a duplicate of this bug. ***
Blocking flags transferred from Bug 226791.
Flags: blocking-aviary1.0RC1+
Flags: blocking-aviary1.0+
No longer depends on: 249655
*** Bug 249767 has been marked as a duplicate of this bug. ***
Depends on: 226791
Back in the Netscape 6 days, I believe the default behavior for a theme change
was to give a small alert, and then the browser would close and auto-restart --
having all the same webpages as before open for the user... Would re-instituting
this implementation be such a bad thing?
Yes, if you knew the history behind this bug, it's the whole reason for its
existence.  Though lately Firefox stuff got tacked to it, it was originally
opened for Seamonkey, of course.
No longer depends on: 252703
Depends on: 252703
dbaron, are we ready to flip the switch?  we should do it soon so we can start
watching for talkback data
sounds like we are ready to throw the switch
Whiteboard: [have patch]
I'm kicking this off the aviary PR blocker list since it's basically no
different from the other bug. 
Flags: blocking-aviary1.0PR+
Depends on: 222575
I'm not sure why this bug is on the aviary blocker list.  (Maybe there is
something related to dynamic theme switching that should be, but I sure don't
think it's this bug.)
Flags: blocking-aviary1.0+ → blocking-aviary1.0?
minus for blocking-aviary1.0 too...
Flags: blocking-aviary1.0? → blocking-aviary1.0-
Flags: blocking1.8b?
Flags: blocking1.8b? → blocking1.8b-
Blocks: majorbugs
No longer blocks: majorbugs
Is this a no no now then?
Product: Core → Core Graveyard
Assignee: dbaron → nobody
Component: Skinability → Themes
Flags: blocking1.8b-
Product: Core Graveyard → Toolkit
QA Contact: themes
(In reply to comment #23)
> Is this a no no now then?

See Bug 226791
Component: Themes → Add-ons Manager
QA Contact: themes → add-ons.manager
Whiteboard: [have patch]
I'm wondering if we could fix this as part of the work being done in the new Extension Manager API (Bug 461973)
Blocks: 461793
(In reply to comment #25)
> I'm wondering if we could fix this as part of the work being done in the new
> Extension Manager API (Bug 461973)

The remaining bugs with dynamically changing the skin are unrelated to the extension manager.
We could maybe change the approach to make this work. I was able to write an extension using dss enable, reload chrome and the session store API from Firefox:
https://addons.mozilla.org/en-US/firefox/addon/61769/
(In reply to comment #27)
> We could maybe change the approach to make this work. I was able to write an
> extension using dss enable, reload chrome and the session store API from
> Firefox:
> https://addons.mozilla.org/en-US/firefox/addon/61769/

Wow. I just started using it. It works much better than I expected. It would help devs here if you could prepare a patch against Firefox out of your extension.
(In reply to comment #28)
> Wow. I just started using it. It works much better than I expected. It would
> help devs here if you could prepare a patch against Firefox out of your
> extension.

I could considerate writing a patch for it, but I'm not sure if it is possible at all. I guess we need the fix for Bug 449967 first.
Depends on: 605023
Due to a long period of inactivity on this bug (5.48 years), I am intending to close this bug within a month or so in accordance with: https://wiki.mozilla.org/Add-ons/OldBugs Please remove [intent-to-close] from the whiteboard and comment on this bug if you would like to keep it open.
Whiteboard: [intent-to-close]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.