Open Bug 302288 Opened 19 years ago Updated 2 years ago

Options in View -> Toolbars and View -> Sidebar have no effect in toolbarless window

Categories

(Firefox :: Toolbars and Customization, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: 32768, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+

When a window with a menubar but no toolbar is opened, the resulting menu has
the options:

View
- Toolbars
  - Navigation Toolbar
  - Bookmarks Toolbar
  - Customize...

These menu options have no effect.

This occurs in popups launched using script such as:

open('http://www.google.com/', '_blank', 'menubar');

Reproducible: Always

Steps to Reproduce:
1. Load testcase URL
2. Launch popup
3. In the popup go to View -> Toolbars -> Navigation Toolbar
4. Repeat step 3

Actual Results:  
No effect

Expected Results:  
This option should show and/or hide the navigation toolbar.

If this isn't possible, the options to show or hide toolbars should be disabled
(greyed).
The same is true for the View -> Sidebar submenu.
Summary: Options in View -> Toolbars have no effect in toolbarless window → Options in View -> Toolbars and View -> Sidebar have no effect in toolbarless window
Couldn't find a dupe. Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: dupeme
Whiteboard: dupeme
Also confirming.

I find this particularly anoying, as it is *when* I have a toolbarless window, that I *want* access to my bookmarks [CTRL]+B, but am denied.  :-(

Steve
*** Bug 249165 has been marked as a duplicate of this bug. ***
I don't have any problems with showing the toolbars when following the steps in comment #0.  But that could have to do with some of the dom.disable_window_open_feature.* config options I've changed.
But I do get the following error in the console when openeing a toolbar:
Error: document.getElementById(toolbarMenuElt.childNodes[i].getAttribute("observes")) has no properties
Source File: chrome://browser/content/browser.js
Line: 2053

Also when trying the sidebar it doesn't open and I get this in the console:
Error: this.docShell has no properties
Source File: chrome://global/content/bindings/browser.xml
Line: 0

So I don't think they're quite the same bug but hopefully they can get fixed together here.  
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 ID:2005111116
Blocks: 375679
5 years later and no progress? There's still a JS error being thrown when trying to open the History sidebar in a popup window.
This is also responsible for bug reports in third-party addons that use sidebars, for example: https://jira.atlassian.com/browse/BON-422
Depends on: 594797
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.