Closed Bug 1123876 Opened 11 years ago Closed 10 years ago

when a windows popup, and i close another window with open tabs, it closes it without a warning

Categories

(Firefox :: Untriaged, defect)

35 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: lugarci2, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150108202552 Steps to reproduce: I have only one window open with multiple tabs, and i enter a site that have a window popup, i close (accidentally, trying to close that popup) the main window, having set in firefox preferences that i should get a warning if i close a window with multiple tabs Actual results: the main window just closes without giving me a warning that im about to close a window with multiple tabs Expected results: firefox should have warned me that im closing a window with multiple tabs
Can you reproduce this in general? (ie do windows normally tell you when they're about to close with multiple tabs in them) Was the window you were closing the last window (had you closed the popup before) and do you have your session set to restore on startup?
Flags: needinfo?(lugarci2)
Hi, no, i can't reproduce this in general. And i noticed too now, that only doesn't give me a warning if the popup window is still loading. If the page of the popup window it's fully loaded, and i try to close the other window that have multiple tabs, it does give me a warning that im about to close a window with multiple tabs, so it behaves correctly. In case is relevant, the site in question is nitroflare.com, but i think that it did happen with other sites. "Was the window you were closing the last window (had you closed the popup before) and do you have your session set to restore on startup?" No, this only happens if i don't close the popup window first. If i let the popup window open, and then close the window with multiple tabs, while the page on the popup window is still loading, then i don't get the warning. I have firefox set to start with my home page, and in case that you mean if i can get to restore the session of the closed window, no, i can't, firefox doesn't give me that message when i start it again later. I close the window with tabs, later the popup, and i just close firefox. Also, if im downloading something, it doesn't give me a warning
Flags: needinfo?(lugarci2)
hii luis, I gone through with steps and I have got a normal behavior of firefox.So,What I suggest first check with some tweaks like clear cache and cookies etc. also put about:home in url and from there restore previous session. check also whether the download animate value is true in about:config tab.
Hi, yes i tried to reproduce it in windows 7 and i couldn't. It does happen with a fresh install of firefox in my system. Maybe is a gnome 3 problem (i use debian testing, so most packages are 3.14). And now i see that the problem is when the main window doesn't have focus and i click in the X button on top, it doesn't matter if the popup window is loading or not, or wich other window has focus, it can be another firefox window or another program. If the main window has focus it does warn me that im about to close a window with multiple tabs. I cleared the cache and cookies. And i could restore the session that way. The value of browser.download.animateNotifications is true
Sorry, but i add two more things. If there are 2 windows open with several tabs, it doesnt happen. It looks that just happens with there is one window with several tabs. The other thing that i make clear (i may have been confusing), is that there has to be a popup window for this to happen
Hey Luis, I didn't manage to replicate the problem on the latest available builds: Build ID 20151223140742 - Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0 Build ID 20160103030302 - Mozilla/5.0 (X11; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0 I will mark this ticket as Resolved Works for me. However, please try to replicate the issue on your end and reopen this ticket if the problem still occurs. Also please note that i'm running gnome-session 3.9.90.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.