Closing TABS in Safari 4.01 *sometimes* closes the entire Window..

Please excuse me if this has already been posted - I tried searching, and didn't find anything that looks like the problem I am having: Intermittently, when I have a lot of TABS open in a Safari 4.01 window, when I start closing out of them using CMD-W, the entire Window will close, and a new one appears, and my default setting for the Home page comes up. I usually can just go to History -> and choose Reopen last closed window to get all my TABS back, but it is quite annoying when I am focused, and working.

Has anyone else seen this behavior? This never happened when I was running the Safari 4 beta, and 4.0.0 was not out long enough for me to notice this.

I do have plug-ins installed, but all of them have been made compatible with Safari 4 (Glims, Tidy, Stand) I also have the Developer menu activated. Is there any debug information I can look for?

Before I file a Bug Report with Apple ( http://developer.apple.com/BugReporter/ ) I thought I would try the boards, and see if anyone else has had this, or if anyone knows of any issues with my plug-ins possibly causing this. I need to try it out in my test account, which has no plug-ins installed, and see if I can reproduce it.

Many thanks in advance!

Take care,

Bruce

24" iMAC 3GB, (1) MBPC2D 160GB 3GB 15" G4 PB, 2GB RAM, 1.67Ghz, ibook g4, Mac OS X (10.5.6), If you contact me via email, please include a thread link.

Posted on Jul 2, 2009 5:59 AM

Reply
13 replies

Jul 3, 2009 9:25 AM in response to fshelleyiv

Good info to know. I wonder why I never saw it in the beta. Perhaps it did not do it as often for me. Now, I have it happen many, many times per day, and it is very annoying. Especially when you are in the zone, and rolling along, and then bam!

Hopefully others will see this, post their observations, and I can file a bug report. I'll give it another couple of days, so I can give Apple as much info as possible.

Please let us know if you have this issue.

Jul 31, 2009 2:35 AM in response to tlaz231

Same problem here in Version 4.0.2 (5530.19), except it happens regardless of which tab is focussed; right, left, somewhere in the middle... it doesn't matter. This would be expected behaviour if you hold the shift-key (cmd + shift + w) yet I'm certain that that's not the case and the shift key also isn't stuck somehow. Maybe there's something interally not quite right, causing Safari only to think that the shift key is also pressed.

In any case, it's extremely annoying. Whoever has a solution, I'll send a cookie!

Aug 16, 2009 8:53 PM in response to deckard97

rocking 4.0.3 now and still have the issue. i just figured out how to repeat it.

i had a video open in youtube, fullscreen. i got out by hitting Escape, and when i exited the fullscreen, there were no longer any tabs selected (the close/minimize/maximize buttons were all gray instead of the usual red/yellow/green).
if i click on the front-most page, it'll close with command-w as normal. if i don't click on the window, it asks me to close the entire window instead of just the active tab (because there is now active tab).

Aug 19, 2009 2:44 AM in response to bgarlock

The bug, or whatever it is, is still here, but I found a little work around as well.

First I deleted everything that had anything to do with Safari; except the app itself and my bookmarks. Every config file, addon, plugin, etc. Then I rebooted, but still the same. However, here's the funny part.

1. I open up Safari for the first time;
2. I open up some tabs;
3. I close one (random) tab using cmd + w

Now I asks me: Do you want to close all tabs/windows? It's there. Always. But when I do this:

4. I confirm, closing all my tabs;
5. I click on Safari again, it opens a fresh window
6. I open up some tabs;
7. I close one (random) tab using cmd + w

It works!

So, every time Safari is completely shut down (cmd + q) and I restart it again, I start with steps 1-3 and close all tabs. Then, when Safari is still running but without any windows, I click it again, and from that point on everything seems to be working just fine.

I never really close Safari anyways, it's always on. But there are always situations that it does get closed. So whenever that happens I just open a few empty tabs, close 'm, get the message, close all tabs, and then I start with my real browsing.

It's still annoying, but it's fine by me. I didn't update to 4.0.3 by the way. No way I'm messing with it any further now that it's partially working again.

Another strange detail; my SIMBL plugins don't seem to work either when Safari first starts. But opening a new window after the first buggy-close-all-action also re-enables my plugins.

Weird stuff, no?

Aug 28, 2009 9:59 PM in response to bgarlock

fshelleyiv appears to have found a 100% reproducible method and why it happens. Hopefully this will lead to Adobe and/or Apple fixing this bug soon! It's been plaguing Safari for forever. Also, I've seen reports over at Chromium forums of the same issue, so this might help them as well.

Bug #1 - When leaving fullscreen flash mode, topmost Safari window loses focus.
Bug #2 - After all Safari windows lose focus by bug #1, cmd-w is no longer close tab, but close window.

Reproducible with: Safari 4.0.3, Mac OS X 10.5.8, Intel Core Duo MacBook.
Workaround: Apple and/or Adobe fixing it.

Nov 13, 2009 8:01 AM in response to bgarlock

I am getting a slightly different problem. Using CMD-W with multiple tabs open used to result in the focus shifting to the right - if there was a tab open to the right. And if you were already on the right-most tab, then repeating CMD-W would close the tabs one by one, right to left.

This no longer happens in Safari 4.0.3. Wherever you are, hitting CMD-W results in the focus jumping back to the left-most tab, and hitting it repeatedly closes the tabs in a strange order which is neither strictly right-to-left nor left to right, but hops around a bit. I hope that makes sense

I installed Glims hoping to be able to find a setting to stop this, but with no luck.

Is anyone else seeing this problem?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Closing TABS in Safari 4.01 *sometimes* closes the entire Window..

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.