-
Notifications
You must be signed in to change notification settings - Fork 62
Close window hides to tray option, can not close individual windows #24
Comments
Fixed, Edit : overlay.js If hide_on_close is set will check for the number of windows opened. if (hides_on_close) { This works fine for me, but other people might not like it, that is why I believe that there should be an option for this behavior. Good luck |
Hi, a few suggestions:
Regarding your request for a new |
I would like to request the capability described in the bug report, I like to use Alt-F4 to close the window until I hit the last window which I like to minimize, a bit like firetray for thunderbird |
Here your are :-) 90ee9f8 You can build it yourself or it will be included in the next soon coming version. |
Thanks! Great stuff :) On 2012-09-10T14:06:42 BST, foudfou wrote:
|
To reproduce problem :
Open Firefox (with firetray extension enabled)
Firefox menu > Open New Window (do it 3 times)
Now you have 4 windows
Close individually all of them
Right clic on Tray Icon. I shows 4 Firefox icons
Click icon to restore, opens the 4 windows
There is no way to close the extra 3 windows any more.
System information
Firetray 0.4.1
Firefox 11
Ubuntu 11.04
If you have the "close window hides to tray" option set. You can no longer close individual windows, actually terminate them.
Some applications open new windows from links, to show some detailed information, PDF view, etc.
Some times you open a new window by mistake or on purpose.
When you close this additional or "pop up" windows, all get hidden instead of being actually closed (or terminated).
So after clicking 20 links you have 20 hidden windows in the tray.
There needs to be a way to distinguish between closing the main window or the "children ones", or an option to that states :
"Only main window hides to tray". Being the main window the one that was open first of all, others, the one that opened at start up. I know that there is no actual main window in a Browser, but the concept of using the very first one opened at start up, as the main window, is something that intuitively we use. It would be like the concept of the tabs. You can close them individually, but when you arrive to the last one that one you can no longer close, that would be like your main tab.
A second similar logic is, if there is more than 1 existing window, it closes. If this is the last (or only window) then it hides to tray.
The option would be : "hide to tray only last window on close". Or "Close all windows on close, hide to tray when only 1".
I have never programmed an extension, browsed the code but could not find function that handles the close action.
If you could point me to the proper function, I think I could implement the second logic, is fairly straight forward. And have done it with other extensions, add a few lines.
Good luck.
The text was updated successfully, but these errors were encountered: