You are not logged in.

#1 2010-07-25 15:03:55

cmtptr
Member
Registered: 2008-09-01
Posts: 135

stalonetray in Fvwm sometimes shifts over when growing

I'm using stalonetray in Fvwm with the following stalonetrayrc:

background "#000000"
geometry 1x1-39-0
max_geometry 4x1
icon_gravity NE
grow_gravity NE

It's supposed to go in the bottom-right corner (just left of my conky clock), and grow to the left as icons are added.  normally this works fine, but occasionally when a second icon is added it will shift over a full icon unit-length.  Here is a pretty ascii-art representation:

(c = clock, 1 = first icon, 2 = second icon)

with one icon:
                      111 ccccc
                      111 ccccc

what's supposed to happen on the second icon:
                   222111 ccccc
                   222111 ccccc

what ends up happening instead:
                222111    ccccc
                222111    ccccc

Notice the new blank gap where the first icon used to be is NOT stalonetray; that becomes empty desktop space, which means stalonetray seems to have either just moved over or it grew two icons to the left and then shrank one icon on the right.  When it does this, the only way I've found to fix it is to `pkill stalonetray` and restart it from a terminal.  Has anyone else had this problem?  To be honest, I'm not even sure whether this is a problem with stalonetray or Fvwm as neither of them produce any helpful output to stdout or stderr.

Thanks

Last edited by cmtptr (2010-07-25 15:04:26)

Offline

#2 2010-07-26 11:27:03

ThomasAdam
Member
From: Southampton, England
Registered: 2005-10-26
Posts: 148

Re: stalonetray in Fvwm sometimes shifts over when growing

Doesn't anyone *read* the FVWM mailing list?

http://www.mail-archive.com/fvwm@fvwm.org/msg01328.html

-- Thomas Adam

Offline

#3 2010-07-27 03:06:50

cmtptr
Member
Registered: 2008-09-01
Posts: 135

Re: stalonetray in Fvwm sometimes shifts over when growing

Sorry, I do tend to miss things that happen in mailing lists I'm not subscribed to.  So you basically went out of your way to post a link to your Fvwm mailing list with no solution just to make a snide remark?

Offline

#4 2010-07-27 05:29:12

ThomasAdam
Member
From: Southampton, England
Registered: 2005-10-26
Posts: 148

Re: stalonetray in Fvwm sometimes shifts over when growing

cmtptr wrote:

Sorry, I do tend to miss things that happen in mailing lists I'm not subscribed to.  So you basically went out of your way to post a link to your Fvwm mailing list with no solution just to make a snide remark?

No -- keep an eye on that thread, there's no guarantee that it's not dead yet.  :)

The problem is with stalonetray and how it calculates its client geometry -- it's clearly broken.

-- Thomas Adam

Last edited by ThomasAdam (2010-07-27 11:16:46)

Offline

Board footer

Powered by FluxBB