GNOME Bugzilla – Bug 762381
User should be able to notice new tabs when opened from history
Last modified: 2016-02-24 19:18:56 UTC
Opening a web page from history should open the new tab one position to the right of the currently-focused tab, not in the rightmost position in the notebook.
Actually, the issue here is not so much where the tab is opened, but that the tab is not focused: it opens on the far right and the user has no way to notice, and thinks it did not open at all.
Created attachment 322001 [details] [review] Focus the new tab when opening a page from history (In reply to Michael Catanzaro from comment #1) > Actually, the issue here is not so much where the tab is opened, but that > the tab is not focused: it opens on the far right and the user has no way to > notice, and thinks it did not open at all. I believe this should fix the focus problem.
Review of attachment 322001 [details] [review]: Works perfectly, thanks! ::: src/ephy-history-window.c @@ +390,2 @@ embed = ephy_shell_new_tab (ephy_shell_get_default (), + window, NULL, flags); Just pass EPHY_NEW_TAB_JUMP directly, no need for the local variable. @@ +521,2 @@ embed = ephy_shell_new_tab (ephy_shell_get_default (), + window, NULL, flags); Ditto.
Created attachment 322187 [details] [review] Focus the new tab when opening a page from history (In reply to Michael Catanzaro from comment #3) > Just pass EPHY_NEW_TAB_JUMP directly, no need for the local variable. Okay, did it.
Review of attachment 322187 [details] [review]: Great!
Attachment 322187 [details] pushed as 33a5e04 - Focus the new tab when opening a page from history