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

NEW
Unassigned

Status

()

Firefox
Toolbars and Customization
13 years ago
8 months ago

People

(Reporter: Thomas Rutter, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
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).
(Reporter)

Comment 1

13 years ago
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

Comment 2

13 years ago
Couldn't find a dupe. Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: dupeme

Updated

13 years ago
Whiteboard: dupeme

Comment 3

13 years ago
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

Comment 4

13 years ago
*** Bug 249165 has been marked as a duplicate of this bug. ***

Comment 5

13 years ago
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

Comment 6

7 years ago
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

Updated

8 months ago
Depends on: 594797
You need to log in before you can comment on or make changes to this bug.