After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326017 - 4th and 5th mouse buttons should control back / forward
4th and 5th mouse buttons should control back / forward
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.12.x
Other All
: Normal minor
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-01-06 19:47 UTC by James
Modified: 2009-11-14 09:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Here is my first stab at this, works great on my machine. (857 bytes, patch)
2009-11-12 07:47 UTC, James
none Details | Review

Description James 2006-01-06 19:47:30 UTC
File roller should support using the 4th and 5th mouse buttons as back and
forward, just like firefox.

Other information:
Comment 1 James 2006-03-21 04:07:25 UTC
No luck in 2.12...
Comment 2 Wouter Bolsterlee (uws) 2008-01-12 00:23:52 UTC
fyi, most of the time these are buttons 8 and 9 (as reported by xev)
Comment 3 James 2009-11-12 07:47:25 UTC
Created attachment 147543 [details] [review]
Here is my first stab at this, works great on my machine.

Here is my first stab at this.  Maps mouse buttons 8 and 9 to the forward and back buttons respectively.  Based on an earlier version of nautilus.  Did not cause an issues for after some brief testing.  I'm planning on further investigating how nautilus does it now for consistencies sake.
Comment 4 James 2009-11-12 08:25:36 UTC
http://mail.gnome.org/archives/nautilus-list/2006-December/msg00109.html

Looks like they are based off XF86 "keys."  If we go this route, we could support a lot of other hot keys on multimedia keyboards, etc.
Comment 5 James 2009-11-14 02:45:01 UTC
Actually, that is how nautilus does it.  XF86 "keys" are for additional keys on multimedia keyboards.  My original patch is ready for committing if the main project manager wants to check it out and commit it :)

Cheers
Comment 6 Paolo Bacchilega 2009-11-14 09:46:06 UTC
patch applied to master, thanks.