Closed Bug 293680 Opened 20 years ago Closed 19 years ago

Sometimes Sidebar fails to open in current window.

Categories

(SeaMonkey :: Sidebar, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: stephend, Unassigned)

Details

Build ID: 2005-05-10-06, Windows XP Seamonkey trunk.

Lately, Sidebar has been failing to open using F9 unless I do a CTRL-N to open a
new Navigator window, and then it automatically opens there.

I see exceptions like:

Error:
document.getElementById(toolbarMenuElt.childNodes[i].getAttribute("observes"))
has no properties
Source File: chrome://navigator/content/navigator.js
Line: 2226
Error: this.docShell has no properties
Source File: chrome://global/content/bindings/browser.xml
Line: 0

Is that related?  Sidebar is missing a docshell?
Note that this isn't 100%, but I've seen this on 2 separate machines now, with
completely different profiles, so it can't be a fluke.
The first exception is probably just a bug in blake's code to try to make the
view show/hide submenu usable in a popup window.
The second exception looks more serious, if you can reproduce it reliably. It
might depend on which sidebar you load by default.
Okay, here's some more info:

These steps seem to make the problem happen the _most_, but are still by no
means inclusive:

1.  I have "What's Related" set as my default Sidebar tab.
2.  Load http://netcenter.netscape.com (you'll need Flash).
3.  Click on "What's New' (yellow content area towards the bottom left of the page).

Now try using either the View menu item for Sidebar or pressing F9 directly.

In this case, I get:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://navigator/content/navigator.js :: Shutdown :: line 806"  data: no]
(In reply to comment #4)
> 2.  Load http://netcenter.netscape.com (you'll need Flash).
I'll also need a better laptop... I only have 800x600
Conclusive steps to reproduce:

1. Load http://netcenter.netscape.com
2. Click on "Search Enhanced by Google"
3. In the resulting window, press F9, or attempt to toggle via View | Show/Hide
| Sidebar

Now, anything current and future content in the window opened in step #3 will
fail to yield a sidebar, but any *new* windows spawned seem to be fine.
As filed this bug is invalid, as the site has disabled the sidebar.

However as per bug 75752 the View menu should be able to override that;
if that is not working to your statisfaction please file a new bug.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.