swallowing trayer

I’ve been having this problem for a while… but it’s really been bothering me lately. I have a fvwmbar that swallows an FvwmIconMan, trayer, a clock.

Sometimes, if an icon in trayer is added, changes or is removed, the whole thing vanishes from trayer. Then I have to kill trayer and restart fvwm a few times to make it come back.

Here’s my fvwmbar config:

DestroyModuleConfig FvwmBar: *
*FvwmBar: Colorset 5
*FvwmBar: Frame 0
*FvwmBar: BoxSize Smart
*FvwmBar: Rows 1
*FvwmBar: Columns 62
*FvwmBar: Font $[MyFont]
*FvwmBar: (47x1, Swallow "FvwmIconMan" `Module FvwmIconMan FvwmIconMans`)
*FvwmBar: (3x1, Swallow "panel" `Exec trayer --SetDockType false --widthtype pixel --width 50 --heighttype pixel --height 24 --edge top --align right --transparent true --margin 0 --distance 0 --expand false --tint 0x666666 --alpha 0`)
*FvwmBar: (12x1, Swallow "FvwmApplet-DigitalClock" `Module FvwmScript FvwmClock 5 $[MyFont]`)

The bar is 1240 px wide.

Any clue why it might be disappearing? How can I make it stop?

I’ve switched to xystray and that seems to be much more reliable (so far). Psi’s (psi-im.org) sometimes doesn’t get captured by it (same with trayer), but I can work around that.

Here’s my new config:

DestroyModuleConfig FvwmBar: *
*FvwmBar: Colorset 5
*FvwmBar: Frame 0
*FvwmBar: BoxSize Smart
*FvwmBar: Rows 1
*FvwmBar: Columns 62
*FvwmBar: Font $[MyFont]
*FvwmBar: (47x1, Swallow "FvwmIconMan" `Module FvwmIconMan FvwmIconMans`) 
*FvwmBar: (3x1, Swallow "Xystray" `Exec $[HOME]/local/bin/xystray -iconmax 2 -bg grey40`) 
*FvwmBar: (12x1, Swallow "FvwmApplet-DigitalClock" `Module FvwmScript FvwmClock 5 $[MyFont]`)