GNOME Bugzilla – Bug 696677
Opening a link from an external application does not honor the new-windows-in-tabs setting
Last modified: 2015-11-10 14:45:46 UTC
Steps to reproduce: - start Web - from another workspace, in a external application, like an Empathy chat window, click on a http:// link - a new Web window appears on current workspace Expected behavior: - if the new-windows-in-tabs setting is on the link should be opened in the existing Web window - perhaps a notification could be created and activating it would switch to Web window (this is what Chromium does)
I can confirm that this behavior is also present in 3.12. This makes using Web as a default browser feel a little less polished.
JFYI, this is still happening in 3.18. It'd be really nice to get it fixed.
Created attachment 314974 [details] [review] shell: Open links in active window instead of guessing the main window This is because ephy considers the main window the one in the current workspace with more tabs. I think it would be simpler to always use the active window (which is the last recently used one, even if it's currently unfocused). This will likely be the main one, or the one we want the links in.
Review of attachment 314974 [details] [review]: OK, but I predict complaints if we do this.
(In reply to Michael Catanzaro from comment #4) > Review of attachment 314974 [details] [review] [review]: > > OK, but I predict complaints if we do this. That's a prediction, but we already have real complains for not doing this :-) I don't mind either behaviour since I don't use the open links in tabs option at all.
Comment on attachment 314974 [details] [review] shell: Open links in active window instead of guessing the main window Pushed.