Closed
Bug 230219
Opened 21 years ago
Closed 21 years ago
go button is set off even when set on in prefs in installer
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.7final
People
(Reporter: matousek, Assigned: neil)
References
Details
(Keywords: fixed1.7)
Attachments
(2 files, 2 obsolete files)
922 bytes,
patch
|
deanis74
:
review+
alecf
:
superreview+
chofmann
:
approval1.7+
|
Details | Diff | Splinter Review |
1.86 KB,
patch
|
janv
:
review+
dveditz
:
superreview+
asa
:
approval1.7+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
when customizing mozilla installer, if preference browser.toolbars.showbutton.go
is set on in the preference file all.js, when install this modified inslaller,
the go-button is hidden. I know i can edit navigator.xul too and set
"go-button"'s attribute hidden to false to show it, but i think it will be
better to do this only through prefs and do not edit xul files at all.
Reproducible: Always
Steps to Reproduce:
1. customize installer - set the browser.toolbars.showbutton.go pref to true
2. install this installer
Actual Results:
the go-button is off
Expected Results:
the go-button should be on
Reporter | ||
Comment 1•21 years ago
|
||
of course, this is about mozilla installer, not firebird instaler as the
UserAgent header look like. sorry :)
Reporter | ||
Updated•21 years ago
|
Summary: go button is set off ever when set on in prefs in installer → go button is set off even when set on in prefs in installer
Assignee | ||
Comment 2•21 years ago
|
||
Assignee | ||
Comment 3•21 years ago
|
||
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
Always assuming that this is what we should be doing
Attachment #138531 -
Flags: review?(dean_tessman)
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
Why don't the other pref listeners need to be initialized like this?
Assignee | ||
Comment 5•21 years ago
|
||
Well, an obvious example, the home button tooltip is already initialized...
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
Is this still relevant? If so, r=me.
Attachment #138531 -
Flags: review?(dean_tessman) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #138531 -
Flags: superreview?(alecf)
Comment 7•21 years ago
|
||
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
are these listeners ever removed? Do we really need to set listeners on ever
pref in the domain? I thought the way pref listeners worked, you could just
listen to the toplevel domain?
i.e. this.observe(pref, "nsPref:changed", this.domain);
Assignee | ||
Comment 8•21 years ago
|
||
I'm not adding or removing listeners, I'm just poking the existing listener so
that it sees the initial value.
Comment 9•21 years ago
|
||
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
oh, duh. I see. I think I even wrote the original code :)
You're forcing the observe() to be called, when it would normally be called by
a pref change
can you put a comment to that affect in init()? something like "Force observe()
to be called so that we get the initial value of the pref on startup"
(I realize your comment "Ensure button visibility.." hints at this, but
still..)
sr=alecf with the comment
Attachment #138531 -
Flags: superreview?(alecf) → superreview+
Assignee | ||
Updated•21 years ago
|
Target Milestone: --- → mozilla1.8alpha
Comment 10•21 years ago
|
||
bug 211829 dup of this?
Comment 11•21 years ago
|
||
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
this is a pretty minor change and sure would be nice to get in for 1.7
Attachment #138531 -
Flags: approval1.7?
Comment 12•21 years ago
|
||
Comment on attachment 138531 [details] [diff] [review]
(Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
a=chofmann for 1.7
Attachment #138531 -
Flags: approval1.7? → approval1.7+
Assignee | ||
Comment 13•21 years ago
|
||
Fix checked in.
Comment 14•21 years ago
|
||
so to what extent did this fix bug 166455?
Updated•21 years ago
|
OS: Windows XP → All
Hardware: PC → All
Target Milestone: mozilla1.8alpha → mozilla1.7final
Updated•21 years ago
|
Attachment #138531 -
Attachment description: Proposed patch → (Av1) <navigator.js> Proposed patch
[Checked in: Comment 13]
Attachment #138531 -
Attachment is obsolete: true
Comment 15•21 years ago
|
||
Adds:
1)
(In reply to comment #9)
> can you put a comment to that affect in init()? something like "Force
observe()
> to be called so that we get the initial value of the pref on startup"
2)
(In reply to bug 166455 comment 14)
> In fact lines 93-105 of navigator.js could probably be cleaned up too.
Updated•21 years ago
|
Attachment #145838 -
Attachment description: (Bv1) <navigator.js> additional → (Bv1) <navigator.js> additional comment and cleanup
Attachment #145838 -
Flags: review?(neil.parkwaycc.co.uk)
![]() |
||
Comment 16•21 years ago
|
||
hmm.. This checkin was responsible for about 0.5% regression in Ts on both comet
and luna. Anything we can do to mitigate that?
Assignee | ||
Comment 17•21 years ago
|
||
Hmm... it might be because the allLeftButtonsAreHidden() is getting called five
times; I'll have to try special-casing the startup code to fix that.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Assignee | ||
Comment 18•21 years ago
|
||
Assignee: guifeatures → neil.parkwaycc.co.uk
Attachment #145838 -
Attachment is obsolete: true
Status: UNCONFIRMED → ASSIGNED
Assignee | ||
Comment 19•21 years ago
|
||
Comment on attachment 145901 [details] [diff] [review]
(Cv1) <navigator.js> Startup optimization
As well as separating out the button and separator update I used .hidden
because the startup check makes persist unnecessary (see attachment 145839 [details] [diff] [review]).
Attachment #145901 -
Flags: superreview?(alecf)
Attachment #145901 -
Flags: review?(varga)
Assignee | ||
Comment 20•21 years ago
|
||
Attachment #145901 -
Attachment is obsolete: true
Assignee | ||
Comment 21•21 years ago
|
||
Comment on attachment 145902 [details] [diff] [review]
(Cv1b) <navigator.js> Extra bulletproofing
[Checked in: Comment 26]
...is needed for bug 230219
Attachment #145902 -
Flags: superreview?(alecf)
Attachment #145902 -
Flags: review?(varga)
Assignee | ||
Updated•21 years ago
|
Attachment #145901 -
Flags: superreview?(alecf)
Attachment #145901 -
Flags: superreview?
Attachment #145901 -
Flags: review?(varga)
Attachment #145901 -
Flags: review?
Comment 22•21 years ago
|
||
Attachment 145902 [details] [diff] should also go into 1.7 - nominating as blocker
(Or there will be a lot of reports like bug 240288)
Flags: blocking1.7?
Updated•21 years ago
|
Attachment #145901 -
Attachment description: Startup optimization → (Cv1) Startup optimization
Attachment #145901 -
Flags: superreview?
Attachment #145901 -
Flags: review?
Updated•21 years ago
|
Attachment #145901 -
Attachment description: (Cv1) Startup optimization → (Cv1)<navigator.js> Startup optimization
Updated•21 years ago
|
Attachment #145901 -
Attachment description: (Cv1)<navigator.js> Startup optimization → (Cv1) <navigator.js> Startup optimization
Updated•21 years ago
|
Attachment #145838 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 23•21 years ago
|
||
The builds of Mozilla with this fix checked in have been unusable since 4/10.
Can they please be removed?
Keywords: fixed1.7
Updated•21 years ago
|
Flags: blocking1.7? → blocking1.7+
Comment 24•21 years ago
|
||
Comment on attachment 145902 [details] [diff] [review]
(Cv1b) <navigator.js> Extra bulletproofing
[Checked in: Comment 26]
sr=dveditz
this works
Attachment #145902 -
Flags: superreview?(alecf) → superreview+
Updated•21 years ago
|
Attachment #145902 -
Flags: review?(varga) → review+
Comment 25•21 years ago
|
||
Comment on attachment 145902 [details] [diff] [review]
(Cv1b) <navigator.js> Extra bulletproofing
[Checked in: Comment 26]
a=asa (on behalf of drivers) for checkin to 1.7
Attachment #145902 -
Flags: approval1.7+
Assignee | ||
Comment 26•21 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago → 21 years ago
Flags: blocking1.7+ → blocking1.7?
Keywords: fixed1.7
Resolution: --- → FIXED
Updated•21 years ago
|
Attachment #145902 -
Attachment description: Extra bulletproofing → Extra bulletproofing
[Checked in: Comment 26]
Attachment #145902 -
Attachment is obsolete: true
Updated•21 years ago
|
Flags: blocking1.7?
Updated•21 years ago
|
Attachment #145902 -
Attachment description: Extra bulletproofing
[Checked in: Comment 26] → (Cv1b) <navigator.js> Extra bulletproofing
[Checked in: Comment 26]
Assignee | ||
Comment 27•21 years ago
|
||
*** Bug 211829 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Updated•20 years ago
|
Attachment #138531 -
Attachment is obsolete: false
Updated•20 years ago
|
Attachment #145902 -
Attachment is obsolete: false
You need to log in
before you can comment on or make changes to this bug.
Description
•