Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114679 - fluxbox 0.9.14-r1: desktop wheeling direction should match window shading
Summary: fluxbox 0.9.14-r1: desktop wheeling direction should match window shading
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 17:23 UTC by Sami Samhuri
Modified: 2006-02-19 01:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
allows user to change desktop wheel direction using windowScrollReverse (fluxbox-0.9.14-desktop-wheel-direction.patch,2.05 KB, patch)
2005-12-06 17:27 UTC, Sami Samhuri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Samhuri 2005-12-06 17:23:28 UTC
I'm using fluxbox-0.9.14-r1.

The option in ~/.fluxbox/init, session.screen0.windowScrollReverse, should apply
to desktop wheeling as well. On my box wheel up would unshade the window and
wheel down would shade it. Wheel up on the desktop (or toolbar) would change to
the next workspace (right/down on a typical pager) and wheel down would go to
the prev workspace (left/up).

Setting windowScrollReverse: true in init fixes the shade issue, and I think it
should apply to desktop wheeling as well. thoughts? I don't think my xorg.conf
or .xmodmap is to blame for the default behaviour on my machine, but I could be
wrong.

I've included a patch that reverses desktop wheeling if windowScrollReverse is true.

I noticed that in the Changelog:4049 for 0.9.13 it says "fixed reverse workspace
change", but I'm unsure what the change was or if the patch is applied to 0.9.14-r1.

Reproducible: Always
Steps to Reproduce:
1. set session.screen0.windowScrollReverse: true in ~/.fluxbox/init
2. start fluxbox
3. use the scroll wheel on the desktop

Actual Results:  
wheel down goes to the previous workspace (left/up)
wheel up goes to the next workspace (right/down)

Expected Results:  
wheel down goes to the next workspace (right/down)
wheel up goes to the previous workspace (left/up)

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14 x86_64)
=================================================================
System uname: 2.6.14 x86_64 AMD Opteron(tm) Processor 246
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/
http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa animation apache2 audiofile avi bash-completion
berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dbus dri dvd emboss
encode esd exif expat fam ffmpeg flac font-server foomaticdb gd gdbm gif
gimpprint glut glx gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imap
imlib ipv6 jpeg kde lcms ldap libwww logitech-mouse lzw lzw-tiff mad maildir mng
mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis
opengl pam pcre pdflib perl png ppds procmail python qt quicktime readline real
scanner sdl server slang spell ssl svg tcpd tetex theora tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vim-with-x visualization
vorbis xine xinerama xml2 xmms xpm xv xvid zeroconf zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Sami Samhuri 2005-12-06 17:27:13 UTC
Created attachment 74189 [details, diff]
allows user to change desktop wheel direction using windowScrollReverse

here's the patch

...
cd fluxbox-0.9.14
patch -p1 < /path/to/patch
Comment 2 Ciaran McCreesh 2006-02-19 01:03:17 UTC
Please send this upstream. It's too big a patch to be used locally.