Closing tabs with keyboard shortcut jumps to previous tab
When browsing GNOME Web with multiple tabs open, after closing a tab with Ctrl-W, the tab from the left becomes active. I would expect that the next tab (form the right) would get displayed, based not only on other browsers’ behavior, but also on GNOME Web’s behavior when closing a tab from its close button, which reveals the tab from the right.
It seems that the tab from the left becomes active if the tab previously active was on the left from the current tab, and the tab from the right becomes active if some tab on the right of the current tab was previously active.
Steps to reproduce:
- browse the GNOME Discourse for new topics
- open the topics of interest in new tabs, with Ctrl-click, without leaving the current window (say 10 topics)
- proceed to reading the opened topics/tabs, from left to right
- after reading a topic, close the tab with Ctrl-W.
Expected outcome: the next (unread) topic/tab gets displayed.
Actual outcome: the tab from the left (e.g. GNOME Discourse main page) gets displayed. User has to jump to the next tab by an additional action (Ctrl-Tab or pointer click).
- Epiphany version (from About Web in the main menu): 46
- WebKitGTK version (from About Web -> Troubleshooting -> Debugging Information): WebKitGTK 2.44.0
- Distributor (Linux operating system, Flathub, Epiphany Tech Preview, etc.): Fedora Workstation 40