Open Bug 862239 Opened 13 years ago Updated 3 years ago

Persisted sizemode="maximized" ignored when centerscreen flag is used on openWindow

Categories

(Core :: XUL, defect)

defect

Tracking

()

People

(Reporter: darktrojan, Unassigned)

References

(Blocks 1 open bug)

Details

When running this code [1], the opened window will not remember if it was maximized: > let WINDOW_URL = "chrome://browser/content/devtools/framework/toolbox-window.xul"; > let flags = "centerscreen,resizable"; > let win = Services.ww.openWindow(null, WINDOW_URL, "_blank", flags, null); I think mIgnoreXULSizeMode is being set inadvertently when the width and height are set from persisted data. This probably has something to do with bug 668711 but since the dimensions aren't specified, I don't think that case applies. [1] from http://hg.mozilla.org/mozilla-central/file/1d9c510b3742/browser/devtools/framework/ToolboxHosts.jsm#l213
For me, the sizemode="maximized" is persisted in my normal profile, but when I go in safe mode, it is not persisted.
Component: XP Toolkit/Widgets: XUL → XUL
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.