opening a popup/tab should make it current
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: | added: windows |
Changed in webbrowser-app (Ubuntu): | |
assignee: | Olivier Tilloy (osomon) → nobody |
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 DispositionNewF oregroundTab. Other dispositions (such as DispositionCurr entTab, DispositionNewB ackgroundTab, DispositionNewP opup, DispositionNewW indow) 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.