Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283613 - x11-wm/fvwm-2.5.27 FvwmIconMan weighted sorting is broken
Summary: x11-wm/fvwm-2.5.27 FvwmIconMan weighted sorting is broken
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jesús Guerrero Botella (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 21:11 UTC by Leeman Strout
Modified: 2009-10-01 13:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leeman Strout 2009-09-03 21:11:15 UTC
I haven't found a good/simple avenue to report this upstream, so here I am.

FvwmIconMan using weighted sorting doesn't sort according to the weights given.

Reproducible: Always

Steps to Reproduce:
1. Install/configure x11-wm/fvwm-2.5.27 and the FvwmIconMan module
2. setup weighted sorting in IconMan
3. restart your fvwm session
4. see sorting not work



Expected Results:  
Correct order of applications on iconman

pertinent Iconman config:
*FvwmIconMan: Sort       weighted

*FvwmIconMan: SortWeight 5  class=Firefox
*FvwmIconMan: SortWeight 15 class=gvim 
*FvwmIconMan: SortWeight 15 name=jEdit*
*FvwmIconMan: SortWeight 20 class=Terminal
*FvwmIconMan: SortWeight 30 class=pidgin

*FvwmIconMan: SortWeight 40 

Actual results in IconMan:
Firefox / gcalc / gvim / pidgin / gftp / jEdit / Thunar / Terminal 

Expected results:
Firefox / gvim / jEdit / Terminal / pidgin / (gftp / Thunar / gcalc)

the items in () all have the same weight (40 per the config) so I don't know the expected result.
Comment 1 Leeman Strout 2009-09-03 21:11:43 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 02 Sep 2009 06:50:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/vmware /usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X accessibility acpi alsa amd64 bash-completion bzip2 cddb cleartype cli cracklib crypt curl dbus dell fam glx gtk hal iconv jpeg laptop libnotify logrotate midi mmx multilib ncurses nls nptl nptlonly nsplugin ntp nvidia opengl pam pcf pcre perl pmu png python qt3support readline samba session sqlite sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype unicode xcomposite xinerama xorg xrender xscreensaver xulrunner xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-09-04 10:11:31 UTC
(In reply to comment #0)
> I haven't found a good/simple avenue to report this upstream, so here I am.
> 

Please, subscribe to fvwm-workers@fvwm.org and report it there. This really belongs upstream.

http://www.fvwm.org/contact/

Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-08 21:18:18 UTC
Please update this report with the upstream reference. We can apply an accepted patch to Gentoo, if one is generated. Thanks.
Comment 4 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-09-08 22:00:43 UTC
(In reply to comment #3)
> Please update this report with the upstream reference. We can apply an accepted
> patch to Gentoo, if one is generated. Thanks.
> 

I am always vigilant in the fvwm lists, this hasn't been reported. So I will do my checks and if I can understand and reproduce the bug I will report it myself. Don't worry, I'll keep you informed of anything.
Comment 5 Leeman Strout 2009-09-09 18:33:34 UTC
Don't know how to produce an "upstream reference" but at the least I'm back from vacation and have submitted the report to the aforementioned mail list.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-09 18:37:54 UTC
(In reply to comment #5)
> Don't know how to produce an "upstream reference" but at the least I'm back
> from vacation and have submitted the report to the aforementioned mail list.
> 

Reference: http://thread.gmane.org/gmane.comp.window-managers.fvwm.devel/4351

Like I said, let's see what happens there and apply a patch if there is one generated. :)
Comment 7 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-10-01 13:51:44 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Don't know how to produce an "upstream reference" but at the least I'm back
> > from vacation and have submitted the report to the aforementioned mail list.
> > 
> 
> Reference: http://thread.gmane.org/gmane.comp.window-managers.fvwm.devel/4351
> 
> Like I said, let's see what happens there and apply a patch if there is one
> generated. :)
> 

The thread at the fvwm mailing list has not received any response. There's a patch that probably will get into the cvs but no feedback has been given about it, and anyway it wasn't meant to fix this concrete issue, but rather a corner case. 

It seems that the issue at hand was about the user not giving the correct class to match (a case sensitivity issue).