I think I found the issue here. So it appears to be related to the notification dialog windows (close multiple tabs, default firefox etc). If any of those is displayed when closing Firefox, the new command with the new height/width will be ignored. If no dialog is displayed (close each tab until close, or disable the multiple close tab dialog before closing Fx) each change in height/width will be recorded. How I tested (windows 10) to reproduce: - Latest Nightly: -- run `firefox -height 1000 -widht 1000 -p` -- create a new profile -- Start Nightly (make sure to have at least 2 tabs) -- Close Nightly (close dialog will appear) -- Click Close Tabs inside close dialog -- run `firefox -height 500 -width 500 -p` -- select the same profile as above -- window still has -height 1000 -width 1000 How I bypassed this (windows 10): - Latest Nightly: -- run `firefox -height 1000 -widht 1000 -p` -- create a new profile -- Start Nightly -- Disable the Default browser check (change value of `browser.shell.checkDefaultBrowser` to `false`) -- Disable the Close tabs check (change value of `browser.tabs.warnOnClose` to `false`) -- Close Nightly -- run `firefox -height 500 -width 500 -p` -- select the same profile as above -- window now respects the -height 500 -width 500 This is indeed an old regression from 2018 and I think I found a range here (had to manually find it): https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=68464218a41a5350ffa926e1b5d77fde75bc4e01&tochange=7771df14ea181add1dc4133f0f5559bf620bf976 Not sure what bug might have caused this.
Bug 1635927 Comment 10 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I think I found the issue here. So it appears to be related to the notification dialog windows (close multiple tabs, default firefox etc). If any of those is displayed when closing Firefox, the new command with the new height/width will be ignored. If no dialog is displayed (close each tab until close, or disable the multiple close tab dialog before closing Fx) each change in height/width will be recorded. How I tested (windows 10) to reproduce: - Latest Nightly: -- run `firefox -height 1000 -widht 1000 -p` -- create a new profile -- Start Nightly (make sure to have at least 2 tabs) -- Close Nightly (close dialog will appear) -- Click Close Tabs inside close dialog -- run `firefox -height 500 -width 500 -p` -- select the same profile as above -- window still has `-height 1000 -width 1000` How I bypassed this (windows 10): - Latest Nightly: -- run `firefox -height 1000 -widht 1000 -p` -- create a new profile -- Start Nightly -- Disable the Default browser check (change value of `browser.shell.checkDefaultBrowser` to `false`) -- Disable the Close tabs check (change value of `browser.tabs.warnOnClose` to `false`) -- Close Nightly -- run `firefox -height 500 -width 500 -p` -- select the same profile as above -- window now respects the `-height 500 -width 500` This is indeed an old regression from 2018 and I think I found a range here (had to manually find it): https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=68464218a41a5350ffa926e1b5d77fde75bc4e01&tochange=7771df14ea181add1dc4133f0f5559bf620bf976 Not sure what bug might have caused this.