Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436426 - games-util/qjoypad 4.1.0 tray icon is blank / icons installed in wrong path
Summary: games-util/qjoypad 4.1.0 tray icon is blank / icons installed in wrong path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 17:42 UTC by zlg (RETIRED)
Modified: 2012-09-29 23:46 UTC (History)
0 users

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 zlg (RETIRED) gentoo-dev 2012-09-27 17:42:43 UTC
Qjoypad compiles properly, but the tray icon does not show up. I can click the blank area in my systray to bring up the configuration dialog and right click it to select a layout (business as usual), but the tray icon itself does not appear. My window manager (fluxbox) was built to include support for both XPMs and PNGs via imlib2. All other tray icons show up as expected.

I'm not familiar with C++, but it seems that there's an ICON64 constant used in `layout.cpp` and defined in `qjoypad.pro` that's pointing to an icon file (icon64.png) that doesn't exist under qjoypad's included icons/ directory. The same is happening for the 24x24 sized icon. The contents of icons/ are: 

gamepad1-24x24.png
gamepad1-64x64.png
gamepad2-24x24.png
gamepad2-64x64.png
gamepad3-24x24.png
gamepad3-64x64.png
gamepad4-24x24.png
gamepad4-64x64.png

These files are moved to /usr/share/pixmaps/ upon installation, with s/gamepad/qjoypad/ applied. I symlinked "icon64.png" to "qjoypad4-64x64.png" to see if I could fool qjoypad into showing an icon and it didn't work. qjoypad does not seem to have a debug flag, nor does it send anything to stdout when run from a terminal.

If I'm missing any information, I'll gladly provide it.
Comment 1 zlg (RETIRED) gentoo-dev 2012-09-27 17:43:22 UTC
Portage 2.1.11.22 (default/linux/amd64/10.0/no-multilib, gcc-4.6.3, glibc-2.15-r3, 3.5.4-gentoo x86_64)
=================================================================
System uname: Linux-3.5.4-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
Timestamp of tree: Thu, 27 Sep 2012 15:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo java-overlay spork-apps
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ http://mirror.datapipe.net/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bittorrent bzip2 cairo cgi cjk cli cracklib crypt cups cxx dri fam ffmpeg finger flac fortran ftp g3dvl gdbm gpm gtk iconv ipv6 javascript jpeg lame latex lua mmx modules mudflap ncurses nls nptl nvidia ogg opengl openmp pam pcre png pppd python readline samba session sqlite sse sse2 ssl svg tcl tcpd theora tk truetype udev unicode vim-syntax vorbis xft xpm 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp hp4200" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2012-09-28 15:29:25 UTC
works fine for me.  Seems like a fluxbox bug.
Comment 3 zlg (RETIRED) gentoo-dev 2012-09-28 22:31:52 UTC
(In reply to comment #2)
> works fine for me.  Seems like a fluxbox bug.

The bug happens with x11-wm/i3 as well.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2012-09-28 22:45:57 UTC
sounds like they don't support the desktop file spec completely.
Comment 5 zlg (RETIRED) gentoo-dev 2012-09-29 00:59:53 UTC
The tray icon is also invisible with x11-wm/awesome. Between Fluxbox, i3, and awesome, all tray icons that I've tried work except qjoypad's. Which window manager to you use, Mr. Bones? It's hard to believe that 3 separate WMs all fail to "get it right" while also properly displaying the icons for transmission, scim, and pidgin.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2012-09-29 01:36:32 UTC
Oh, sorry, I misunderstood you.  I thought you were talking about the icon in the menu to launch qjoypad.

Should be fixed now.  Resync and emerge again to see the icon.
Comment 7 zlg (RETIRED) gentoo-dev 2012-09-29 18:47:05 UTC
No problem. Misunderstandings happen. :) It works now. Thanks!