Closed
Bug 133666
Opened 23 years ago
Closed 22 years ago
Skin switch on restart not completely performed
Categories
(Core Graveyard :: Skinability, defect)
Core Graveyard
Skinability
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: jrgmorrison, Assigned: bugzilla)
References
Details
(Whiteboard: [adt2 rtm],custrtm-)
Attachments
(2 files)
21.51 KB,
image/jpeg
|
Details | |
1.13 KB,
patch
|
bugs
:
review+
bugs
:
superreview+
scc
:
approval+
|
Details | Diff | Splinter Review |
Skin switch on restart not completely performed
Steps to reproduce:
1) create a new profile
2) start browser (comes up in default skin, assume Classic is default for the
discussion below.)
3) 'View->Apply Themes->Modern' and say OK to the alert
4) Shut down. Start again.
Actual results:
Buttons and menu-backgrounds are still in 'Classic'
5) Shut down. Start again.
Actual results:
Everything is now fully 'Modern'
6) 'View->Apply Themes->Classic' and say OK to the alert
7) Shut down. Start again.
Actual results:
Buttons and menu-backgrounds are still in 'Modern'
8) Shut down. Start again.
Actual results:
Everything is now fully 'Classic'
Tested with 2002-03-26-10-trunk comm. and with mozilla trunk build on win2k.
Reproducible 100%
nsbeta1, mozilla1.0
Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.0,
nsbeta1
Comment 2•23 years ago
|
||
nsbeta1+/adt3 per Nav triage team
Reporter | ||
Comment 3•23 years ago
|
||
*** Bug 134946 has been marked as a duplicate of this bug. ***
this bug is related to bug 115940
Comment 6•23 years ago
|
||
I don't think that's directly related.. dynamic switching has always done that,
while switching after restart has worked.
Comment 7•23 years ago
|
||
WFM with 2002-04-05-10 on Linux. Both Modern -> Classic and the other way around
are completely done switching theme after a restart for me.
Comment 8•23 years ago
|
||
John, have you been able to reproduce this bug with newer builds than 03-26?
Reporter | ||
Comment 9•23 years ago
|
||
Sure. This is reproducible as described above with mozilla builds pulled in the
last few hours on both Linux (rh6.1) and win32(win2k).
Comment 10•23 years ago
|
||
ccing people who may have an idea of what's up here.
Comment 11•23 years ago
|
||
note: restarting a second time after switching themes makes the mixed theme
problem go away.
Comment 12•23 years ago
|
||
Tracy, when the themes are mixed does it looks the same as the bug on dynamic
theme switch? Can you attach a screenshot?
Comment 13•23 years ago
|
||
Andre, I can attach the screenshot for you. It seems happen on all platforms
changing from PC to all platforms.
Comment 15•23 years ago
|
||
Comment 16•23 years ago
|
||
Strange that I cannot see it. I have tested on several Linux machines at school
(latest build) as well as on my Linux box at home, and all widgets are changed
to the correct theme.
Comment 17•23 years ago
|
||
Confirming pmac's issues. Saw the same behaviour multiple times on recent Win32
trunk builds.
Comment 19•22 years ago
|
||
I've seen this when switching between modern and lo-fi on
Linux, but I'm still mostly using 0.9.9 (but note that not
needing to restart was not the issue; first restart did
not change everything). Note that if you have extra
toolbars (e.g., prefs toolbar, googlebar, uabar) these
are least likely to have the correct theme applied
the first time. No idea why.
This only happens occasionally, and a subsequent additional
restart of Mozilla invariably fixes it. It is not 100%
reproducable for me.
I'll start using a more recent build and see if I can catch
this happening again. I switch themes fairly often (because
I'm in the process of creating one, but at the moment it's
half done and looks like it has mange, so I don't use it for
regular browsing) so if anyone can reproduce this I probably can.
Adding self to Cc.
Comment 20•22 years ago
|
||
John, are you using QuickLaunch?
Reporter | ||
Comment 22•22 years ago
|
||
No. I am not using quickbrunch.
Comment 23•22 years ago
|
||
Mass moving nsbeta1+/adt3 bugs assigned to Navigator team engineers out to
target milestone 1.0.1. Please confine your attentions to driving down our list
of TM 1.0 bugs for beta. Better to help, debug, or test one of them than fix
one of these.
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 24•22 years ago
|
||
What actually happens is that when Mozilla shuts down with the
Modern theme active, the line
user_pref("general.skins.selectedSkin", "modern/1.0");
is struck from the prefs.js file.
It happens even if you have selected Modern in the prefs and
it does not happen if you shut down with the Classic theme
active, but Modern selected in the prefs.
Comment 25•22 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any
questions about this, please email adt@netscape.com. You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1-
Comment 26•22 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any
questions about this, please email adt@netscape.com. You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1+
Reporter | ||
Comment 27•22 years ago
|
||
Good grief. Skin switching DOES NOT WORK, either in fact, or in the perception
of end users (who will point this out to us ad infinitum). Need I say more
about why a BETA release should not ship with this defect?
Updated•22 years ago
|
Reporter | ||
Comment 29•22 years ago
|
||
*** Bug 141358 has been marked as a duplicate of this bug. ***
Comment 30•22 years ago
|
||
*** Bug 141728 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 31•22 years ago
|
||
Here comes the wah-mbulance .... Wah! This defect is going to be mozilla 1.0?
Assignee | ||
Comment 32•22 years ago
|
||
Assignee | ||
Comment 33•22 years ago
|
||
What happens is FlushCaches() reloads the scoped stylesheets, which (because of
the profile manager) include listbox.css, checkbox.css, popup.css, and
button.css. But since it does so before we SelectSkin(), which updates all the
selectedSkin arcs, we load the old stylesheets (of the skin we're about to
switch out of). This patch simply reorders the calls to ensure that we refetch
the new skin's scoped stylesheets.
Comment 34•22 years ago
|
||
sr=hyatt
Comment 35•22 years ago
|
||
Comment on attachment 82365 [details] [diff] [review]
patch
r=ben@netscape.com
(adding sr checkmark for hyatt)
Attachment #82365 -
Flags: superreview+
Attachment #82365 -
Flags: review+
Assignee | ||
Comment 36•22 years ago
|
||
Checked into trunk, marking fixed.
But I strongly urge adt to accept this for beta, it's an easy patch and this is
an obvious problem, especially for reviewers trying out theme switching. I also
see that drivers want this since it's mozilla1.0+...
Status: NEW → RESOLVED
Closed: 22 years ago
Keywords: adt1.0.0
Resolution: --- → FIXED
Whiteboard: [adt2 rtm] → [adt2]
Comment 37•22 years ago
|
||
Yes I would second that. This is imperative to get into the Beta as we are going
to be updating the three skins from the themepark (toyfactory, fogcity, american
theme) for RTM and need to be able to test these out using the beta.
Althought theme switching might seem like a minor issue right now, it is
something that I suspect would be an easy target for a magazine reviewer to ding
us on, and developers of themes to get put off by this defect.
Comment 38•22 years ago
|
||
*** Bug 144815 has been marked as a duplicate of this bug. ***
Comment 39•22 years ago
|
||
Skin switching works ok on the trunk build (2002-05-17-08-TRUNK). Marking
verified.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 41•22 years ago
|
||
(I now realize that this condition applies if you have >1 profile, which means
the profile manager appears (comment #33). Nonetheless, still something that
must be fixed in mozilla1.0 final (with adt considerations being mostly moot)).
Updated•22 years ago
|
Whiteboard: [adt2] → [adt2 rtm]
Comment 42•22 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch, pending
Drivers' approval. After, checking in, please add the fixed1.0 keyword.
Comment 43•22 years ago
|
||
Comment on attachment 82365 [details] [diff] [review]
patch
a=scc (on behalf of drivers) for checkin to the mozilla1.0 branch
Updated•22 years ago
|
Attachment #82365 -
Flags: approval+
Keywords: adt1.0.0+ → fixed1.0.0
Comment 44•22 years ago
|
||
mozilla/rdf/chrome/src/nsChromeRegistry.cpp,v <--
nsChromeRegistry.cpp
new revision: 1.240.2.3; previous revision: 1.240.2.2
fix checked into 1.0.0 branch
Whiteboard: [adt2 rtm] [Needs a=] → [adt2 rtm]
Comment 45•22 years ago
|
||
Adding custrtm- to comment field.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•