opening a popup/tab should make it current

Bug #1589090 reported by Michael Zanetti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Confirmed
High
Unassigned

Bug Description

configuring a wifi router with the Ubuntu browser, I thought the website or browser would not work because clicking links would not do anything. Took me quite a while to find out that clicking that link actually opened popups in new tabs, but because new tabs are not focused by default, and also hidden in the bottom edge when the window is smallish, I opened like 20 popups before even realizing what's going on.

=> when a website opens a new tab or popup (which effectively ends up as a tab in this browser) as response to a user interaction (I actively clicked a link to open it, it wasn't just spam) it should be automatically focused, or, at the very least some clear indication that there has been a new tab opened.

Tags: windows
Revision history for this message
Olivier Tilloy (osomon) wrote :

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: - opening a popup/tab should directly focus it
+ opening a popup/tab should make it current
Changed in webbrowser-app (Ubuntu):
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
tags: added: windows
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
assignee: Olivier Tilloy (osomon) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.