GNOME Bugzilla – Bug 771934
Back mouse button to navigate backwards
Last modified: 2017-12-19 12:55:17 UTC
Mouse button 8 ("backward navigation") should have the same effect as clicking the back button in the top left corner, like it does in Software, Documents, Settings.
Patch welcome.
As a hint, this is how this was just done in GNOME Clocks (in Vala): https://git.gnome.org/browse/gnome-clocks/commit/?id=09988198a8a95ebe7c9a8ebd4d9aed1c7af976d6
I don't have a patch yet, but am interested in contributing one.
Never mind. I don't have a mouse with "Mouse button 8".
Created attachment 343292 [details] [review] Back mouse button to navigate backwards Creates the same effect as having pressed "Alt - F" combination. Overridden button_release_event to handle mouse button 8.
Created attachment 343459 [details] [review] Enable Back mouse button to navigate backwards Creates the same effect as having pressed "Alt - Left" combination. Overridden button_release_event to handle mouse button 8. https://bugzilla.gnome.org/show_bug.cgi?id=777238 ------ Behaviour of back ui button and short cut <ALT> + Left is not same. ------ According to this link, also matched the behaviours for navigating back. Note: This patch will only work if the patch from the above linked bug is applied.
*** Bug 791361 has been marked as a duplicate of this bug. ***
Review of attachment 343459 [details] [review]: lgtm ::: gnomemusic/window.py @@ +506,3 @@ @log + def do_button_release_event(self, event): + explicit, code = event.get_button() __ for unused var
The back button behaviour can still be erratic, but at least it should be consistently so ;) Added this in commit e8b554ced46363978f3ef66158273efe5ddc1843 , thanks for the patches. Apologies for the delay. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.