A window minimized to the Dock before closing FF should remain minimized after restarting FF (macOS)
Categories
(Core :: Widget: Cocoa, defect, P5)
Tracking
()
People
(Reporter: 5silentrain, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Steps to reproduce:
- Open any tab in FF
- Minimize FF window to Dock
- Press the key combination Cmd + Q to close FF and unload it from memory
- Open FF again
Actual results:
The window that was minimized to the Dock before we closed and unloaded FF from memory will reappear on the screen.
Expected results:
A window previously minimized to the Dock should remain minimized after restarting FF.
I don't see this issue in Chrome and Safari.
| Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Can you confirm that this only occurs if all windows are minimized? If you have at least one window visible before quitting Firefox, minimized windows will not become visible after restarting, correct?
| Reporter | ||
Comment 3•3 years ago
|
||
Yes, I was talking about one window. If you open several windows, then chaos generally begins to occur in Firefox after unloading FF from memory and restarting it.
Of course, the opening of previous windows and tabs must be enabled in the FF settings.
Comment 4•3 years ago
|
||
Opening the minimized window helps in discoverability. Users might not understand why no window is showing after starting Firefox. This seems like a feature, rather than a bug.
You mention that "chaos begins to occur" if restarting with multiple windows. This "chaos" would merit its own bug(s) with a clear description of what you're seeing.
| Reporter | ||
Comment 5•3 years ago
|
||
Opening the minimized window helps in discoverability. Users might not understand why no window is showing after starting Firefox. This seems like a feature, rather than a bug.
For macOS users, this behavior is normal and unquestionable. Safari built into the operating system behaves in a similar way.
You mention that "chaos begins to occur" if restarting with multiple windows. This "chaos" would merit its own bug(s) with a clear description of what you're seeing.
- Open multiple FF windows.
- Minimize some of the open windows to the Dock.
- Press Cmd + Q.
- Run FF.
After these simple steps, you yourself will understand everything perfectly.
Comment 6•3 years ago
|
||
(In reply to 5silentrain from comment #5)
Opening the minimized window helps in discoverability. Users might not understand why no window is showing after starting Firefox. This seems like a feature, rather than a bug.
For macOS users, this behavior is normal and unquestionable. Safari built into the operating system behaves in a similar way.
There is an identifiable benefit in restoring a minimized window after a restart if no other window is visible (discoverability). Can you identify a benefit of not doing so, other than parity with Safari?
You mention that "chaos begins to occur" if restarting with multiple windows. This "chaos" would merit its own bug(s) with a clear description of what you're seeing.
- Open multiple FF windows.
- Minimize some of the open windows to the Dock.
- Press Cmd + Q.
- Run FF.
After these simple steps, you yourself will understand everything perfectly.
This is how I've been using Firefox for the last decade. I currently have 7 minimized windows and I do not run into any chaos after restarts. If you can describe the "chaos" with more specificity you may open new bugs so that we can investigate.
| Reporter | ||
Comment 7•3 years ago
|
||
There is an identifiable benefit in restoring a minimized window after a restart if no other window is visible (discoverability). Can you identify a benefit of not doing so, other than parity with Safari?
I believe that a web browser should respect the user's choice. If I decide to minimize the browser window before closing it, then obviously I am doing this on purpose and do not want this window to be maximized from the Dock the next time I start the web browser.
This is how I've been using Firefox for the last decade. I currently have 7 minimized windows and I do not run into any chaos after restarts. If you can describe the "chaos" with more specificity you may open new bugs so that we can investigate.
Let's first define, are you talking about FF running under macOS or under Windows?
Well, especially for you, I open FF developer edition 110.0b9 and follow the elementary steps:
- In the FF window that opens, I load YouTube.
- I press Cmd + N and in a new window I load another site, for example Vimeo.
- I press Cmd + N again and load another site, such as Imgur.
- Using the Cmd + M key combination, I minimize to the Dock, first the window with the YouTube site, and then the window in which I have Vimeo open. As a result, one window with the open Imgur website remains on the screen.
- I press Cmd + Q to close FF and unload it from memory.
- I start FF and expect to see open only the window in which the Imgur site was loaded (the other two windows, one with YouTube and the other with Vimeo, should be minimized by the logic of things). But instead, a window opens with the Imgur website and a window with the YouTube website, and the window with the YouTube website also changes its size (before that, I had it stretched to full screen by double-clicking the left mouse button on the window title). Only the window in which the Vimeo site was opened remains in the Dock.
Isn't that chaos in your opinion?
| Reporter | ||
Comment 8•3 years ago
|
||
I checked how things are with this in Chrome Dev (111.0.5563.8) and Safari Technology Preview (Release 162 (Safari 16.4)). No problem! 👍 Only the Imgur window opens, while the YouTube and Vimeo windows remain minimized in the Dock 👌
Comment 9•3 years ago
|
||
(In reply to 5silentrain from comment #7)
There is an identifiable benefit in restoring a minimized window after a restart if no other window is visible (discoverability). Can you identify a benefit of not doing so, other than parity with Safari?
I believe that a web browser should respect the user's choice. If I decide to minimize the browser window before closing it, then obviously I am doing this on purpose and do not want this window to be maximized from the Dock the next time I start the web browser.
An argument can be made that we should open a blank new window in this instance rather than un-minimizing an existing window, so I'm going to keep this bug open.
This is how I've been using Firefox for the last decade. I currently have 7 minimized windows and I do not run into any chaos after restarts. If you can describe the "chaos" with more specificity you may open new bugs so that we can investigate.
Let's first define, are you talking about FF running under macOS or under Windows?
It has been an occasional occurrence that I would run Firefox under macOS, yes. Since your bug report was for macOS, I was referring to macOS.
Well, especially for you,
"especially for me"..?
I open FF developer edition 110.0b9 and follow the elementary steps:
- In the FF window that opens, I load YouTube.
- I press Cmd + N and in a new window I load another site, for example Vimeo.
- I press Cmd + N again and load another site, such as Imgur.
- Using the Cmd + M key combination, I minimize to the Dock, first the window with the YouTube site, and then the window in which I have Vimeo open. As a result, one window with the open Imgur website remains on the screen.
- I press Cmd + Q to close FF and unload it from memory.
- I start FF and expect to see open only the window in which the Imgur site was loaded (the other two windows, one with YouTube and the other with Vimeo, should be minimized by the logic of things). But instead, a window opens with the Imgur website and a window with the YouTube website, and the window with the YouTube website also changes its size (before that, I had it stretched to full screen by double-clicking the left mouse button on the window title). Only the window in which the Vimeo site was opened remains in the Dock.
Isn't that chaos in your opinion?
We must have a different definition of "chaos". But yes, these particular steps reproduce the problem for me. I've gone ahead and filed bug 1815067 for you.
| Reporter | ||
Comment 10•3 years ago
|
||
An argument can be made that we should open a blank new window in this instance rather than un-minimizing an existing window, so I'm going to keep this bug open.
Our opinion is of course very important, but maybe it makes sense to ask what the other web browser development team thinks about this? 🤔
"especially for me"..?
Well, yes! You haven't seen any problem with windows even though you've been using FF for ten years, opening a lot of windows 😃 Although I honestly have no idea how it is possible for ten years not to notice the oddities in working with FF windows from under macOS 🤨
We must have a different definition of "chaos". But yes, these particular steps reproduce the problem for me. I've gone ahead and filed bug 1815067 for you.
Finally! Thanks!!! 🤝
I call it chaos because after restarting FF, some windows from the previous session are first maximized and then instantly minimized; others remain maximized even though I minimized them in the previous session. Doesn't it look like chaos? Safari and Chrome don't behave this way.
| Reporter | ||
Comment 11•2 years ago
|
||
Unfortunately, the latest dev version 132.0b6 still has this issue 😢 Everything is fine in Chrome and Safari 👌
Description
•