Closed Bug 261811 Opened 20 years ago Closed 19 years ago

New window toolbar has multiple problems

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: beerfan, Unassigned)

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040927 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040927 Firefox/0.10 When a new window is opened with no toolbars, the new static toolbar with the urlbar has multiple problems. The biggest problem is that if the urlbar has been moved to another toolbar then it is not displayed in the new window. The next problem is that toolbar customization is allowed. Customization should be disabled for toolbars when the window is in this mode. The third problem is that, while toolbar buttons are hidden, toolbar separators not not hidden. Perhaps toolbar separators should be given a class of "chromeclass-toolbar-additional" like toolbar buttons have so that it will be properly hidden. An alternative, but less elegant, possibility is to add a selector to /global/content/xul.css for these separators. Reproducible: Always Steps to Reproduce: 1. View > Toolbars > Customize 2. Move "Location" urlbar to the "Bookmarks Toolbar." 3. Place some separators on the "Navigation Toolbar." 4. Exit toolbar customization. 5. In the browser, click a link which opens a new window with toolbars disabled (e.g., gmail contacts). 6. Notice that the toolbar is visible but the "Location" urlbar is missing. 7. Right-click toolbar and notice that it is customizable. 8. Notice that the toolbar separators are visible.
Setting to block 1.0 (hopefully)
Flags: blocking-aviary1.0?
I don't know if it is related, but another problem is that the tab bar is visible in these new windows.
(In reply to comment #0) > The biggest problem is that if the urlbar has been moved to another toolbar > then it is not displayed in the new window. In any case I'm used to putting the urlbar up into the menubar and I never saw that problem except in fullscreen mode. > > The next problem is that toolbar customization is allowed. Customization > should be disabled for toolbars when the window is in this mode. That way it would become impossile to re-customize the urlbar back into the navigation toolbar. Or not?
(In reply to comment #3) > That way it would become impossile to re-customize the urlbar back into the > navigation toolbar. Or not? It is my assumption that when a window is opened in this mode (with a "chromehidden" attribute) that the toolbar is presented ONLY to display a readonly address of the current window. Further, while toolbar customization is enabled, moving things around does not affect anything in the current window. You would have to open a new normal window to see the customization changes. Therefore, customization really should not be allowed in this mode.
-> -1.0 ->New per bsmedberg moving the urlbar gives some more problems see bug 248002
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-aviary1.0? → blocking-aviary1.0-
This patch adds the separator, space, and spring widgets to the list of items to be hidden when window[chromehidden~="toolbar"].
This patch adds the "chromeclass-toolbar-additional" class to separator, space, and spring elements so that it will be correctly hidden when window[chromehidden~="toolbar"].
This patch adds a new "chromeclass-toolbar-extrachrome" class to the separator, space, and spring elements. It also adds this class to the list of elements in xul.css to be hidden when window[chromehidden~="toolbar"]. I made up this new class so it may need to be changed to something else. The 3 patches I have submitted are all mutually exclusive. They are simply different solutions for the third problem I discussed initially. They all hide the separator and space elements in the toolbar of popup windows. I created all three patchs because I was unsure which was the ideal solution.
Can someone review these patches? It would be nice to at least have one of these problems fixed for 1.0.
Attachment #160972 - Flags: review+
Attachment #160973 - Flags: review+
Attachment #160974 - Flags: review+
Comment on attachment 160972 [details] [diff] [review] Patch to add separators, space, and springs to xul.css You don't set review+ to request reviews, you set ? and ask a relevant review. Asking Ben b/c I don't know who else would handle this area.
Attachment #160972 - Flags: review+ → review?(bugs)
Attachment #160973 - Flags: review+ → review?(bugs)
Attachment #160974 - Flags: review+ → review?(bugs)
Assignee: bugs → nobody
QA Contact: bugzilla → toolbars
--> INVALID, removing the static urlbar for popups rather neatly fixed its problems (long, long ago).
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Comment on attachment 160972 [details] [diff] [review] Patch to add separators, space, and springs to xul.css Clearing obsolete request.
Attachment #160972 - Flags: review?(bugs)
Comment on attachment 160973 [details] [diff] [review] Patch to add "chromeclass-toolbar-additional" class to toolbar elements Clearing obsolete request.
Attachment #160973 - Flags: review?(bugs)
Comment on attachment 160974 [details] [diff] [review] Patch to add "chromeclass-toolbar-extrachrome" class to toolbar elements Clearing obsolete request.
Attachment #160974 - Flags: review?(bugs)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: