The code that handles new view requests in the browser switches by default to the new tab only if the disposition of the request is DispositionNewForegroundTab. Other dispositions (such as DispositionCurrentTab, DispositionNewBackgroundTab, DispositionNewPopup, DispositionNewWindow) will open a new background tab. This may need to be revisited. In particular, the 'userGesture' property is not currently used.
As a side note, there’s ongoing work to support multiple windows, but I’m not sure yet what we will do with popups. ** Summary changed: - opening a popup/tab should directly focus it + opening a popup/tab should make it current ** Changed in: webbrowser-app (Ubuntu) Importance: Undecided => High ** Changed in: webbrowser-app (Ubuntu) Status: New => Confirmed ** Changed in: webbrowser-app (Ubuntu) Assignee: (unassigned) => Olivier Tilloy (osomon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589090 Title: opening a popup/tab should make it current To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1589090/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs