Menu

#522 Workspace button: pixmap backgrounds

appearance
closed-out-of-date
icewm-1.3 (100)
2
2008-08-08
2004-05-03
No

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

Discussion

  • Thomas Zajic

    Thomas Zajic - 2004-05-03

    Taskbar screenshots

     
  • Marko Macek

    Marko Macek - 2004-05-09
    • assigned_to: nobody --> captnmark
     
  • Marko Macek

    Marko Macek - 2004-05-09

    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.

     
  • Marko Macek

    Marko Macek - 2004-05-09
    • labels: 319566 --> 419780
    • status: open --> open-fixed
     
  • Thomas Zajic

    Thomas Zajic - 2004-05-10

    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.

     
  • Thomas Zajic

    Thomas Zajic - 2004-05-19

    Logged In: YES
    user_id=150806

    Just for the record, the problem is still present in 1.2.14pre16.

     
  • Marko Macek

    Marko Macek - 2004-05-23
    • status: open-fixed --> closed-fixed
     
  • Marko Macek

    Marko Macek - 2004-05-23
    • labels: 419780 --> 319566
     
  • Marko Macek

    Marko Macek - 2004-05-23

    Logged In: YES
    user_id=1814

    the bug you've submitted has been fixed in the new IceWM version.

     
  • Marko Macek

    Marko Macek - 2004-05-26

    Logged In: YES
    user_id=1814

    oops, missed a comment

     
  • Marko Macek

    Marko Macek - 2004-05-26
    • status: closed-fixed --> open
     
  • Marko Macek

    Marko Macek - 2004-06-27
    • labels: 319566 --> 319567
     
  • Marko Macek

    Marko Macek - 2004-08-12
    • priority: 5 --> 2
     
  • Marko Macek

    Marko Macek - 2006-09-11
    • labels: 319567 --> 406955
     
  • Marko Macek

    Marko Macek - 2008-01-05
    • labels: 406955 --> 319566
     
  • Marko Macek

    Marko Macek - 2008-08-04
    • labels: 319566 --> icewm-1.3
     
  • Marko Macek

    Marko Macek - 2008-08-08
    • status: open --> closed-out-of-date
     
  • Marko Macek

    Marko Macek - 2008-08-08

    Logged In: YES
    user_id=1814
    Originator: NO

    closing, out of date

     

Log in to post a comment.