Closed Bug 711105 Opened 13 years ago Closed 13 years ago

Hiding urlbar in userChrome.css disables back/forward buttons

Categories

(Firefox :: Address Bar, defect)

9 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20100101 Firefox/9.0 Build ID: 20111206234556 Steps to reproduce: Added the following to userChrome.css #urlbar { display: none } Actual results: The url bar is hidden, but the forward and back buttons are disabled. Expected results: The url bar should be hidden, and the forward and back buttons should still function.
Any reason why you're not using the built-in toolbar customization feature to remove the url bar?
You mean right click -> customize? It's for an extension. The only way I found to make it work through file manipulation was to remove urlbar-container from nav-bar currentSet in localstore.rdf.
These icons stay disabled when #urlbar is display: none, even though pages have been navigated to.
I can confirm this issue in FF8 on Archlinux. Mozilla/5.0 (X11; Linux x86_64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1
Noticed that #urlbar-container { display: none !important; } also breaks the back/forward buttons in Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1. :(
display:none breaks the location bar's XBL binding. Please use visibility:collapse instead.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: