Closed
Bug 160927
Opened 23 years ago
Closed 23 years ago
"Customize Tab" breaks with JavaScript error
Categories
(SeaMonkey :: Sidebar, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla-mozilla-20000923, Assigned: samir_bugzilla)
References
Details
(Keywords: useless-UI)
Attachments
(1 file, 2 obsolete files)
|
1.14 KB,
patch
|
janv
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020803
BuildID: 2002080308
Trying to customize a sidebar tab (clicking "Customize Tab" after selecting a
customizable tab) simply results in a JavaScript error.
Reproducible: Always
Steps to Reproduce:
1. Open JavaScript Console (from "Tools" menu, under "Web Developement").
2. Make sure "Show JavaScript errors and warnings in Mozilla chrome" is turned
on in "Debug" in Preference.
3. Open "Customize Sidebar" window (from "Tabs" drop-down above sidebar).
4. Select a tab in the "Tabs in Sidebar" list that allows customization.
5. Click "Customize Tab".
Actual Results: A JavaScript error is printed to the JS console.
Expected Results: The Customize Tab window should open.
The JavaScript error generated is:
Error: tree.selectedItems has no properties
Source File: chrome://communicator/content/sidebar/customize.js
Line: 437
| Reporter | ||
Updated•23 years ago
|
Keywords: useless-UI
| Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.2
| Reporter | ||
Comment 1•23 years ago
|
||
Increasing priority - this is a serious bug - and it's still in 1.2 alpha.
Severity: major → critical
Comment 2•23 years ago
|
||
how is this "useless-UI"? Do you see this with a clean profile?
| Reporter | ||
Comment 3•23 years ago
|
||
To quote the page describing Bugzilla keywords:
useless-UI: "Use this keyword when the UI exposes a feature that is either
unusably broken or not implemented."
This feature is entirely broken, so I think it needs the keyword to indicate
this. And yes, it happens on a new profile, on a clean install of Moz 1.2 alpha too.
| Reporter | ||
Comment 4•23 years ago
|
||
If you need a tab to test this with, use the following:
javascript:window.sidebar.addPanel('CompSoc',
'http://www.warwickcompsoc.co.uk/tools/sidebar',
'http://www.warwickcompsoc.co.uk/tools/sidebar?content=customise');
Comment 5•23 years ago
|
||
*** Bug 162907 has been marked as a duplicate of this bug. ***
Comment 6•23 years ago
|
||
Bug #162907 is a dup of this one, however,
http://bugzilla.mozilla.org/show_bug.cgi?id=162907#c1 is a rather interesting
comment from that bug.
Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 7•23 years ago
|
||
If it is just the case of not upgrading the JavaScirpt when the new tree API
came about, can we not fix this really easily? (assuming someone has time, I
guess...)
| Reporter | ||
Comment 8•23 years ago
|
||
| Reporter | ||
Comment 9•23 years ago
|
||
Attachment #101962 -
Attachment is obsolete: true
| Reporter | ||
Comment 10•23 years ago
|
||
Adding nscatfood since this is (or at least should be) important to the Netscape
people, and does have a patch ready for review.
Keywords: nsCatFood
| Reporter | ||
Updated•23 years ago
|
Attachment #102028 -
Flags: review?(varga)
Comment 11•23 years ago
|
||
how about:
var numSelected = tree.treeBoxObject.selection ?
tree.treeBoxObject.selection.count : 0
other than that r=varga
| Reporter | ||
Comment 12•23 years ago
|
||
Hmm, shouldn't |tree.treeBoxObject.selection.count| be zero if there's no selection?
Comment 13•23 years ago
|
||
Just following the style in that file.
tree.treeBoxObject.selection can be null, btw
| Reporter | ||
Comment 14•23 years ago
|
||
Attachment #102028 -
Attachment is obsolete: true
Comment 15•23 years ago
|
||
Comment on attachment 106789 [details] [diff] [review]
Updates based on Jan's comments.
r=varga
| Reporter | ||
Updated•23 years ago
|
Attachment #106789 -
Flags: superreview?(jaggernaut)
Attachment #106789 -
Flags: review?(varga)
| Reporter | ||
Updated•23 years ago
|
Attachment #102028 -
Flags: review?(varga)
Updated•23 years ago
|
Attachment #106789 -
Flags: review?(varga) → review+
Updated•23 years ago
|
Attachment #106789 -
Flags: superreview?(jaggernaut) → superreview+
| Reporter | ||
Updated•23 years ago
|
Attachment #106789 -
Flags: checkin?
Comment 16•23 years ago
|
||
Comment on attachment 106789 [details] [diff] [review]
Updates based on Jan's comments.
checked in
Attachment #106789 -
Flags: checkin?
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•