Public bug reported:

(follow-up to https://code.launchpad.net/~fboucault/webbrowser-
app/background_open_tabs_adjacent/+merge/316226)

In chromium on desktop, when opening a link in a new tab (for instance when 
Ctrl+clicking on a hyperlink), the new tab is open next to the parent tab. When 
closing that child tab, the parent tab is the one that becomes current.
In webbrowser-app, when closing the child tab, the next one in the list becomes 
current. It would be nice if webbrowser-app implemented the same behaviour as 
chromium.

Steps to reproduce:
 1) Start webbrowser-app, and open two tabs, e.g. http://example.org and 
http://start.ubuntu.com
 2) Focus the first tab (example.org) and right click on the "More 
information…" link (this opens a new tab in second position and focuses it
 3) Press Ctrl+W to close the current tab

Expected result: the first tab (example.org) is the one that gets
focused.

Actual result: the second tab (start.ubuntu.com) is the one that gets
focused.

** Affects: webbrowser-app (Ubuntu)
     Importance: Medium
     Assignee: Florian Boucault (fboucault)
         Status: Triaged

** Changed in: webbrowser-app (Ubuntu)
     Assignee: (unassigned) => Florian Boucault (fboucault)

** Changed in: webbrowser-app (Ubuntu)
   Importance: Undecided => Medium

** Changed in: webbrowser-app (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664990

Title:
  Restore focus on parent tab when closing child tab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1664990/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to