GNOME Bugzilla – Bug 790017
middle click the Back button
Last modified: 2017-11-12 00:54:50 UTC
User middle clicks the Back button. One would expect he would get a new tab, containing the previous page. Instead he just gets an empty tab. Not sure if related to Bug 611400. Pretty sure not a Webkit bug as their minibrowser only has rudimentary tab support.
(In reply to Dan Jacobson from comment #0) > Pretty sure not a Webkit bug as their minibrowser only has rudimentary tab > support. Yeah, this is (almost surely) an Epiphany bug.
Created attachment 363381 [details] [review] header-bar: Fix middle click action for forward/back buttons
Review of attachment 363381 [details] [review]: ::: src/ephy-header-bar.c @@ +503,3 @@ action_group = gtk_widget_get_action_group (GTK_WIDGET (header_bar->window), "toolbar"); + direction = strstr (action_name, "back") ? EPHY_NAVIGATION_HISTORY_DIRECTION_BACK Oh wow. I would tighten this up a bit more, since there's only two possible action names here: strcmp (action_name, "navigation-back") == 0 ?
Created attachment 363405 [details] [review] header-bar: Fix middle click action for forward/back buttons Thanks for the feedback.