[Touch-packages] [Bug 1664990] Re: Restore focus on parent tab when closing child tab

2017-03-03 Thread Olivier Tilloy
Indeed, my original request was a naive approach, which is why I suggested in comment #1 identifying what in chromium’s implementation we want to replicate. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to webbrowser-app in Ubu

[Touch-packages] [Bug 1664990] Re: Restore focus on parent tab when closing child tab

2017-03-03 Thread Florian Boucault
The other thing from that chromium code is that the closing order should be different. In the case you describe of having opened B, C and D background tabs. Closing D should not focus A (which created it) but instead focus C. -- You received this bug notification because you are a member of Ubunt

[Touch-packages] [Bug 1664990] Re: Restore focus on parent tab when closing child tab

2017-03-03 Thread Olivier Tilloy
I looked into chromium’s implementation, and it’s a bit more complex than what I described in the description. Details are in TabStripModelOrderController::DetermineNewSelectedIndex(…)¹. I think it would be worth identifying what in chromium’s implementation we want to replicate. One thing that w

[Touch-packages] [Bug 1664990] Re: Restore focus on parent tab when closing child tab

2017-02-21 Thread Launchpad Bug Tracker
** Branch linked: lp:~fboucault/webbrowser- app/switch_to_parent_tab_on_close -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu. https://bugs.launchpad.net/bugs/1664990 Title: Restore focus on parent

[Touch-packages] [Bug 1664990] Re: Restore focus on parent tab when closing child tab

2017-02-17 Thread Florian Boucault
** Changed in: webbrowser-app (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu. https://bugs.launchpad.net/bugs/1664990 Title: Restore focus on parent t