In "Look=pixmap" and "Look=metal" themes, pixmap backgrounds for the workspace buttons (workspacebuttonbg.xpm, workspacebuttonactive.xpm) are ignored, unless they are defined as gradients (Gradients="workspacebuttonbg.xpm workspacebuttonactive.xpm") in the theme's default.theme.
The attached .zip file includes taskbar screenshots from three different themes to show the problem:
- InCel-1.2 (http://themes.freshmeat.net/projects/incel/): A "Look=metal" theme. It doesn't provide workspace button pixmaps, but for demonstration purposes, I symlinked taskbarbg.xpm to workspacebuttonbg.xpm, and taskbuttonactive.xpm to workspacebuttonactive.xpm. However, both pixmaps are ignored, and ColorNormalWorkspaceButton and ColorActiveWorkspaceButton are used instead, unless I also add a line Gradients="workspacebuttonbg.xpm workspacebuttonactive.xpm" to default.theme. All other taskbar related pixmaps are being used even if they are not listed in "Gradients=".
- Elberg-1.01 (http://themes.freshmeat.net/projects/elberg-icewm/): A "Look=pixmap" theme. It doesn't provide workspace button pixmaps, but for demonstration purposes, I symlinked taskbuttonbg.xpm to workspacebuttonbg.xpm, and taskbuttonactive.xpm to workspacebuttonactive.xpm. However, both pixmaps are ignored, and ColorNormalWorkspaceButton and ColorActiveWorkspaceButton are used instead, unless I also add a line Gradients="workspacebuttonbg.xpm workspacebuttonactive.xpm" to default.theme. All other taskbar related pixmaps are being used even if they are not listed in "Gradients=".
- SilverXP-1.2.13-2 (http://themes.freshmeat.net/projects/icewmsilverxp/, the included patches have _not_ been applied): A "Look=metal" theme using "Gradients=". Both pixmaps are being used as expected. Additional note: The theme's original "Gradients=" line uses standard unix continue-reading-in-next-line characters ("\"):
Gradients="menubg.xpm menusel.xpm switchbg.xpm taskbarbg.xpm dialogbg.xpm \ taskbuttonbg.xpm taskbuttonactive.xpm taskbuttonminimized.xpm \ buttonA.xpm buttonI.xpm \ toolbuttonbg.xpm workspacebuttonbg.xpm workspacebuttonactive.xpm"
This didn't work until I changed it to one long line. Is IceWM supposed to understand the "\" character, or should I report this as a bug to the SilverXP authors?
I'm using icewm-1.2.14pre15 with the following ./configure options:
--prefix=/usr/local
--enable-gradients
--enable-antialiasing
--enable-corefonts
--enable-guievents
--enable-menus-gnome1
--enable-menus-gnome2
--with-icesound=OSS,ESound
--with-imlib
Taskbar screenshots
Logged In: YES
user_id=1814
should be fixed in CVS.
The '\' doesn't work right now. The Gradients line should be
a signle line.
Logged In: YES
user_id=150806
Tested, fix NOT confirmed (CVS from 10/05/04, 07:16 CEST)!
workspacebuttonbg.xpm and workspacebuttonactive.xpm still
only get used if they are listed in "Gradients=", while all
other taskbar/*.xpm pixmaps are used as expected, without
being listed in "Gradients=". Tested with the examples from
my original bug report (InCel-1.2, Elberg-1.01).
I will report the usage of "\" as a bug against SilverXP.
Logged In: YES
user_id=150806
Just for the record, the problem is still present in 1.2.14pre16.
Logged In: YES
user_id=1814
the bug you've submitted has been fixed in the new IceWM version.
Logged In: YES
user_id=1814
oops, missed a comment
Logged In: YES
user_id=1814
Originator: NO
closing, out of date