Odd taskbar3 behavior Thread last updated on 2003-11-21 13:18:34

Posted by member 71746 on 2003-11-20 03:52:47

I'm having an interesting little problem here...

Using Taskbar3-0.306_alpha-1 (because -0.7_alpha-3 doesn't download even if the filename is exactly correct...)

Basically the problem is that the icons shift around when new ones are added. If there's one icon already and another is added, no problem. Another one, no problem. Once the 4th icon is added, no problem. On the 5th icon, however, the 4th icon shifts left by 1 pixel.

I've got...

TaskbarWidth 103
TaskbarMaxButtonCount 5
TaskbarMaxTaskWidth 16
TaskbarSpacing 4
TaskbarIconSize 16


...along with the other skin-related settings defined in tasks.rc. (no text, no borders)

Logically I would think (TaskbarMaxTaskWidth+TaskbarSpacing)*TaskbarMaxButtonCount would be an accurate formula to find the desired TaskbarWidth to use so the icons stay still, but that doesn't work. (16+4)*5 = 100. If I use a setting of 100 for TaskbarWidth, there's even more shifting going on - it shifts the 2nd icon to the left when the 3rd icon is added, shifts further to the left on the 4th icon, then shifts the icons (except for the first one) to the RIGHT on the 5th icon (!). By using 103 I've managed to get it down to the smallest amount of shifting possible, but I don't see why the module has to be so 'shifty' to begin with..

If I use TaskbarMaxButtonCount 4 instead of 5, and a width of 81, there's no shifting at all... Logically and mathematically I should use a width of 80 to achieve the no shifting, but if I use 80 as the width there's all kinds of shifting.

Is this a bug in Taskbar3, or is this just a microsoft-esque attempt at "being helpful" ?

Also, it seems silly that the module has made it this far through development without having a command setting like TaskbarAutoSize (bool) added to it, even if it defaults to true.

Anyway, if anyone knows a way around this bug (which could easilly be circumvented with the TaskbarAutoSize setting if it were in existance) could you please inform me and the rest of the board? :)

Posted by member 7223 on 2003-11-20 08:37:45 link

I guess the only way around is to set taskbarspacing to zero

Posted by member 71746 on 2003-11-20 13:41:31 link

Hmmmm that would result in the icons being crammed together and would harm the esthetics.

If there's anyone reading this who is part of the Taskbar dev team, would a TaskbarAutoSize or TaskbarNoAutoSize setting be a difficult thing to implement? Or could it be done over the course of a can of coke? In the case of the latter, I can send you the paypal $$ to pay for the can of coke as motivation ;)

Posted by member 12798 on 2003-11-20 15:23:45 link

you can try contacting jesus_mjjg http://users.skynet.be/fa052720/, he's the dev team :)

Posted by member 71746 on 2003-11-20 15:47:15 link

Thanks ElkMonster :) only problem is the only e-mail address he has listed on that page is one he used as the name of a theme years ago, and is now a dead address. I don't suppose anyone has current contact info for the lad? :)

Posted by member 36955 on 2003-11-20 17:40:43 link

stop by #litestep or #lsdev on irc.freenode.net, jesus_mjjg along with most other litestep developers hang out there

Posted by member 71746 on 2003-11-20 18:19:10 link

Ahhhh cool thanks, I've been trying to track down the server that #litestep lives on since it left EFnet lol

Posted by member 39 on 2003-11-20 18:40:42 link

jesus_mjjg[_AT_]hotmail[_TOD°]com should do.
Please, try to send me a message because i know i WILL forget i have some bugs to correct ... shouldn't be hard to correct, though.

Posted by member 7223 on 2003-11-21 00:44:39 link

Have you tried with some taskbarbuttonborder setting ?

Posted by member 71746 on 2003-11-21 01:40:27 link

Smurth, tried setting the spacing to 0 and the buttonborder to 4 0 0 0 - the result is it shrinks the icons.

Say, what kinda choons do you spin? :)

Posted by member 7223 on 2003-11-21 06:49:45 link

Logically, you have to increase the taskbarmaxtaskwidth

Posted by member 71746 on 2003-11-21 13:18:34 link

hmmm yeah i guess i would, lol

anyway i've pestered the messiah to implement a TaskbarNoAutosize feature so I'll just hold out for that :)