when opening link from other app, also shows tabs that were in window when last closed.
Reported by
rac...@strangenoises.org,
Jul 30 2017
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 Steps to reproduce the problem: 1. Start with no windows open - on Mac 2. Open a window (click on dock icon) 3. Go to a page. Any page. 4. Close the window by clicking on the close button on window titlebar 5. From another app, click on a URL or otherwise select to open a URL in Chrome 6. Observe that while the URL you requested is the first tab, there's a second tab with the page you visited in step 3 What is the expected behavior? That when starting with no windows open, opening a URL from another app will open a window with *only* the requested URL. Not other pages you'd already finished with. What went wrong? Under certain circumstances (detail below in other comments) tabs that were in the last window to be closed are re-opened with the new window. Did this work before? N/A Chrome version: 60.0.3112.78 Channel: stable OS Version: OS X 10.13.0 Flash Version: This happens when you close the window by clicking on the close button at window top-left. It does not happen when you close the window by splat-W. I think this is because splat-W actually closes the current *tab*, and when the last tab closes, the window closes, but it's empty of tabs at that moment. HOWEVER, confusing that picture is that if you close the *tabs* by mouse/trackpad, by clicking on the close-button on the right end of the *tabs*, they, or at least the last one, still re-opens the next time a window is opened by invoking a URL. I think this only affects macOS, because only on macOS can the application still be running with no windows open, thus be the only one that can be in the state of maybe thinking a tab is open when a window is not. So it looks like being about re-using the state of the last window that was open just before it was closed. It *doesn't* happen if you just open a new empty window, only when opening a URL from outside - so Chrome must be the default browser. NB: In settings I do have the "On startup" option set to "Open the new tab page", and not for instance "Continue where you left off." And this setting works for the other ways of opening new windows - application launch, click-on-dock, splat-N. This bug is not new to this version; this just happens to be the day I finally got around to reporting it. I honestly did look for other bug reports but it's kind of a hard one to find useful search terms for! So apols if there is one already.
,
Aug 3 2017
Tested the issue on Mac OS 10.12.5 retina using chrome latest stable M60 #60.0.3112.90 and issue is not reproduced with steps mentioned in comment 30. Attached screencast for reference. @ rachel-- Could you please check in latest chrome stable in fresh chrome profile without any extensions and flags enabled and update us with your observations. And also confirm us if we have missed any steps in reproducing the issue. Thanks!
,
Aug 3 2017
No, you didn't actually repeat the steps correctly. I'll go into detail about that in a moment FWIW but it probably doesn't matter as I can't reproduce the problem now either, on #60.0.3112.90 even with the same profile & extensions as I used when I originally reported it, but also with a new blank profile. (note the original report was using #60.0.3112.78 - is it rational to expect something like that to change on such a minor version bump that I didn't even notice it being installed?)
It's possible this problem has come and gone over time in the past too. It's the sort of thing one only tends to notice when it breaks. So now I think of it it wasn't happening all this morning while I was catching up on Twitter and I didn't notice until just now trying to specifically test for it.
Anyway, FWIW, your steps to reproduce in the screencast were wrong as follows:
1. You inserted a step between my steps 4 and 5: You presumably clicked on the dock icon (not shown) to open a fresh window. Then closed that from the tab's close button, then tried to open the html file. I already reported that opening a fresh window by clicking on the dock or splat-N was working fine, the problem was only when the last time the window was closed it had a tab with an actual loaded web page ("New Tab" doesn't count); I think what you did was clear the *previous* preserved state of the last closed window, that would have shown the problem.
2. My step 5 was to invoke a *URL* from an external application. I never tested opening a HTML file on the filesystem, so I don't know if that ever exhibited the problem. My test was to click on a URL to a website that was presented as a link in another application. It happened that that application in my case was Tweetbot but I doubted that was relevant. What might have been relevant is the potential difference between the implied "open -a 'Google Chrome' <filename-note-not-file:url>" that I think would be equivalent to your opening the file from the Finder and "open <http:url>", equivalent to opening a HTTP/HTTPS URL from another application - where Chrome is the default browser.
My guess is that point 2 above was *probably* sufficiently equivalent to have been a valid test, but point 1 definitely would have invalidated the test and presented a false-negative. I suppose seeing as the original bug has gone into hiding anyway we'll never know! :-} We love Heisenbugs don't we...
,
Aug 3 2017
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 4 2017
Thanks for your update. As per comment #3, Seems to be issue is not reproducible on latest stable M60 #60.0.3112.90. @rachel-- Could you please confirm us if we can close this issue. Thanks!
,
Aug 4 2017
Confirmed. (Bet it comes back though! ;-))
,
Aug 4 2017
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 4 2017
As per comment #6, closing this issue . Please feel free to raise a new issue , if any issues faced in latest chrome channels. Thanks! |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by nyerramilli@chromium.org
, Jul 31 2017