[Feature Request] Use extra mouse buttons for back and forward navigation.
Description It would be nice to have a feature which detects "mouse4" and "mouse5" button events for "back" and "forward" navigation inside the app. This would result in faster navigation and less mouse movement.
General information:
- Distribution: Ubuntu 20.04.3 LTS
- Installation method: Flathub (User)
- Version : 0.2.0
- Device used: Laptop + External Mouse
App Information
$ flatpak info dev.alextren.Spot
Spot - Spotify Client for the GNOME desktop
ID: dev.alextren.Spot
Ref: app/dev.alextren.Spot/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.2.0
License: MIT
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 19.4 MB
Runtime: org.gnome.Platform/x86_64/40
Sdk: org.gnome.Sdk/x86_64/40
Commit: 92d23006e4589bb5edf8d72a473a72dc4807a0c3b77802de098a8a22f9d1580a
Parent: 618ab1618c617cfd3ccf6edd4c8514492a4bcce1003b614be431b52824b917b9
Subject: Add --device=dri so GTK4 can use the GPU (eb40e907)
Date: 2021-08-27 12:50:46 +0000
This got merged upstream: leaflet: Support back/forward mouse buttons, so we can have mouse button navigation for free now.
Or at least it would be, but leaflet swiping seems broken currently:

Something wrong with https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/property.Leaflet.can-navigate-back.html maybe, not sure we've enabled it
Or at least it would be, but leaflet swiping seems broken currently:
This is with can-navigate-back:true.
Oh of course nevermind, we can't do that! going back has to operate on the stack switcher not the leaflet
I was pondering how to make swipes work, and was instructed that we'd need two nested leaflets - one with sidebar and "library" as children, and the other with the details screen as a child and can-unfold=false.

Trying to make the swipes work, but it would seem it would seem that would require to rework quite a bit of navigation routine, which goes a bit over my head
