Closed Bug 298987 Opened 20 years ago Closed 20 years ago

firefox -chrome chrome://... opens unresizable window

Categories

(Toolkit :: Startup and Profile System, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bc, Assigned: benjamin)

Details

(Keywords: fixed1.8, regression, Whiteboard: needs investigation, may be platform-specific)

Attachments

(1 file, 1 obsolete file)

Trunk firefox builds will open a window with a disabled maximize widget and without the ability to resize the window by dragging its edges. This is not the case with 1.0.x firefox builds. To reproduce: launch firefox from the command line as firefox -chrome chrome://browser/content I think this was fall out from the appShell to appStartup change.
Summary: firefox -chrome chrome;//... opens unresizable window → firefox -chrome chrome://... opens unresizable window
Actually it's probably fallout from the command-line-handling rewrite.
Assignee: nobody → benjamin
What platforms did you notice this on? The relevant window-opening code is http://lxr.mozilla.org/mozilla/source/browser/components/nsBrowserContentHandler.js#236
Whiteboard: needs investigation, may be platform-specific
Priority: -- → P2
Windows XP.
Comment on attachment 199333 [details] [diff] [review] Always add an argstring (even if empty) so that the "dialog=no" applies Wouldn't removing the |if (args)| at http://lxr.mozilla.org/seamonkey/source/browser/components/nsBrowserContentHand ler.js#134 be better? As it is, you're basically setting |argstring.data = argstring| in openWindow() (this isn't the nsIWindowWatcher openWindow).
Comment on attachment 199333 [details] [diff] [review] Always add an argstring (even if empty) so that the "dialog=no" applies No, but I should just pass an empty string.
Attachment #199333 - Attachment is obsolete: true
Attachment #199333 - Flags: review?(mconnor)
Attachment #199335 - Flags: review?(mconnor) → review+
Fixed on trunk; I'd like to get this on branch too.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attachment #199335 - Flags: approval1.8rc1?
Attachment #199335 - Flags: approval1.8rc1? → approval1.8rc1+
Fixed on 1.8 branch.
Keywords: fixed1.8
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: