Here's what happens if you open the compose page in a new window when you use Firefox:
When you try to close the original Gmail tab, a dialog informs you that the compose window will also be closed: "Are you sure you want to navigate away from this page?".
Gmail's blog says that Google Chrome added some code that makes the pop-up windows "long lived".
"If you're using the latest version of Google Chrome, you can now continue to work in popped out windows after you close your main window (especially handy for those of us who always like to keep an eye on our tasks). For the technically curious among you, our friends on the Chrome team made it possible to transfer the code that runs Gmail from one window to another as the window closes. When the window that hosts the code fires an unload event, we move the iframe with the code to a surviving window. Everything continues to run, including timers and outstanding requests."
Gmail doesn't have tabs, but you can open many views in a new window by shift-clicking on a link, by clicking on the "new window" icon or link. This way, you can keep a conversation open while composing a message (shift-click on "Compose mail" or Shift+c), open Gmail search results in new windows (shift-click on the results), reply to a message in a new window (shift-click on "Reply" or Shift+r).
It's actually not a non-standard feature, it's what HTML5 requires.
ReplyDeleteI see. Can you link to the spec?
ReplyDeleteDude, if you're going to make a post about chrome how about you do the screenshots in chrome, or at least don't put the firefox favicon in the picture. kthxbai
ReplyDeleteGoogle Chrome OS is seeming to be the future of OS, with access to the web within a few seconds, remote-access to Windows App, and set of features that it will sport , its surely going to be rocking, read everything on my post :
ReplyDeletehttp://www.worldshotcake.com/google/chrome-os-can-run-pc-applications/
Take Care !
Back in the days Microsoft made certain things work on in IE, i guess this is a improved version of Microsoft tactics.
ReplyDeletei don't really understand, and neither understood with the drag'n'drop-thing: if this is an html5-feature, how can it be limited to one browser? if it is limited to one browser on purpose, and what explanation is there, how is google then better than microsoft in their ie-monopoly-attitude?
ReplyDeletei believe, after web2.0 bandwaggonhopping with buzz, this "chrome is the better browser because we censor our features on other browsers"-attitude is googles second big software mistake. let's just hope this isn't the giant tripping over his shoes.
People who think that Google has developed this specifically for Chrome have missed the point. Google has utilized a standard HTML5 technique to make this work.
ReplyDelete"if this is an html5-feature, how can it be limited to one browser?"
That's simple. Not every browser supports all HTML5 features. Browsers have been rolling out support for HTML5 over time... a few elements at a time. Not even Chrome is 100% HTML5 compliant, but it has at least managed to support this particular feature used in Gmail. As soon as Safari supports this HTML5 feature, this Gmail function will work in Safari. The same goes for Firefox and for IE.
On a side note, as Moiz Saleem Varind alluded to... Chrome OS *is* looking to be a more viable future for computing. With HTML5 support for online/offline web application status... a super-fast JavaScript rendering engine... Native Client for applications which require massive use of CPU and GPU... and with Microsoft working feverishly to get Office to work in Chrome OS... the future is looking bright for the web.
This is NOTHING NEW! I have used this before.
ReplyDeleteAlex: Have you tried this new feature with chat windows? Lifehacker has a post that mentions chat windows, but when I tried it, the chat window closed, too, when I closed Gmail.
ReplyDeleteMy compose window stay open, but I don't remember if it did that before or not.
It doesn't work for chat windows.
ReplyDeleteThanks. I wonder why that LH post mentioned chat when it doesn't work.
ReplyDeleteDo these improvements apply exclusively to Chrome, or is Firefox affected too?
ReplyDeleteWell, Hixie is the spec and the spec is Hixie, so this link will be sufficient.
ReplyDeleteMore seriously, I see references to auxiliary browsing contexts, opener browsing contexts, and creator browsing contexts, as well as to garbage collection, but I don't see that auxiliary browsing contexts should have a strong reference to their parent.
(and by parent I meant opener browsing context)
ReplyDeleteThere's not really anything specific to point to... it's just a side-effect of the way the garbage collection and unloading of child browsing contexts is defined, a result of the combined requirements of many unrelated sentences in multiple sections. It's not even really an HTML5 feature so much as a DOM Level 1 feature that has finally been defined in enough detail to be unambiguous.
ReplyDeleteThere is no such thing as "a standard HTML5 technique", because HTML5 itself isn't a standard yet.
ReplyDelete