rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: maverick on April 03, 2007, 09:44:47 PM

Title: Icon Masks
Post by: maverick on April 03, 2007, 09:44:47 PM

A couple of months ago, I first noticed that the icon masks I set changed on their own and I couldn't figure when or why.

I notice today that it happened again.  The only thing new that I did to HFS in the last couple of days is upgrade to build 090.

Maybe the icon masks changed with the build upgrade.  I don't know if this is the true reason why, but it is the only thing I can think of right now.  I'm not even sure this is a bug.... with all the build changes that go on here icon masks are not always affected.
Title: Re: Icon Masks
Post by: rejetto on April 04, 2007, 02:12:56 PM
the other post was splitted (http://www.rejetto.com/forum/index.php?topic=4373.0)

no idea.
i confirm you i didn't touch the icon masks lately.
let me know if you understand how to reproduce this bug:
Title: Re: Icon Masks
Post by: maverick on April 09, 2007, 07:47:07 AM

OK, I just confirmed the reason why previously set icon masks change on there own. 

It happened again when I upgraded to build 091.  Whenever a new hfs build adds an icon to the list, the previously existing icon order changes.  Because the icon order has changed, the icon masks that were previously set are wrong. 

To solve this have hfs add new icons only to the bottom of the list so it doesn't disturb the previous icon order.
Title: Re: Icon Masks
Post by: rejetto on April 09, 2007, 12:26:26 PM
hmm, yes, i got the problem now.
i will work on it.
Title: Re: Icon Masks
Post by: rejetto on June 23, 2007, 01:07:26 PM
fixed in last build
Title: Re: Icon Masks
Post by: maverick on June 27, 2007, 05:56:07 AM
fixed in last build

I noticed something new in build 106.  Is the following code in hfs.ini part of the fix and expected?  

Quote
From hfs.ini ...
icon-masks-user-images=10001:eNpz93SzsEwUYBBgSGNgUPzJwsjA4MegwwAEILG2f7/+dU9d8u7Tvz17zz779O/spWfffv27++pbd+eSq7fu/ts5efLMNUsW7rn77t+/R1ffAaWefTt76tnVW++uvvqWndl8tdDr7qNnZ4GCj955+RZfffevunTy3XvvNBferVp6/O6tu9WVa87ee3f23rPq2u7s1Gr9yvXv3v379u3fv0/PggKz37169+/a0eTE5iDf5H+v7kZFNv+7d7Z6690tG9csWbnnamXQnp1b1mw8umTt0ckzjz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tG9csWbnnamXQnp1b1mw8umTt0ckzjzY3zp48cU1375rZM7fsWTp7ztJds5duOXtoz9FMr7tLu+8eWnP23Nl/p9a8O7Rmz6GjW3ae3bL17J5jZ/dcerbn2NUth64yDErAPr/Bz4+5pbXVrqnTj5Ght6/XW66ru7/fUFa1q4dBvlfdWlmLiXGWqYOeswuDmaSCzJJORjE+Bg0nNk8Lfe4NTYxcfAaubpysHPZ7Zploc4m68wtxsAvs7TZyFLX1YjmmxHKVkY2J84KgjYgH74NHTAKCajy65q9mMX1jVbHUlDaWesDEwiGT4OjI3iwg/I9V5MQSzjZO8QOsMzw2Jm31lBBmZWKwBgAkR9og|10003:eNpz93SzsEwUYBBgSGNgUPzJwsjA4MegwwAEILG2nz9/VlZWOjo6BgcHT548WVNTs7i4ODk5efbMnZ6enpcPrunuXJmdMeXfwaL/p+r/7SjKKZoxuf/8/0tLra2tb9++raCgYGhouHv37s2bN3e3H5846/zR60/37lq5bO7e79+/X7n1/PHjx327bp28cPfA8il7z9/9f7H738nu/9c3rTh4Zf2ay5PW3pu8+PLUS++2b726afntiS0bcrO7U7wW+0QszCqYXl87t7ZgTmnR/Pz8/MjISG+3SA15+0jngvrCyPrcyNx0x3+bI/5t9Tm1uvDfnojmxoW9vb3/L9YvnlxW07Siunxbfc2KqOVnWyuWzCt1LT3xkGFQAvaeBr+m5pbWtlZGRrb2DnkVDfaeZkYGLRHmHlYmJnMRJXHRdnYWFjZGBRexdjG2JewScjPaWVk5mZntmIR7bLhkuFR5fSx6bIXUhfj4HSf5qbmeclCexCnL62Tv5mHVbiClJ62jyy1gZNnGzaHpq8ghacYj0OYpqO0lyOFuzGPYxsmk33ZhxcaU4y0BTUyMDNYA6sWuKg==|

Title: Re: Icon Masks
Post by: rejetto on June 27, 2007, 11:15:51 AM
yes it is
i had to move this information from the vfs to the ini :(
Title: Re: Icon Masks
Post by: maverick on June 27, 2007, 01:30:41 PM
Ok, thanks...
Title: Re: Icon Masks
Post by: Nighted on August 16, 2007, 10:13:23 PM
Here's one for you. I changed the default folder icon in the template. Now, for my main icons, I can't change them, well I can. As you can see, they show in the HFS tree, but they don't show when viewing in the browser.
Title: Re: Icon Masks
Post by: Foggy on August 17, 2007, 01:15:03 AM
Im not sure but I think it is the tamplate stopping the icons from appearing. Some templates are designed to show certain Icons according to the files extension and you are seeing the templates default extension for files with no/unrecognised extension, instead of what you set in HFS because the template isnt using the %icon% variable to set the icons on the template but the icons are coded manually.
so try the default template to see if what I said is actually right. If I am right then someone might be able to help you make a work around for it in the template code.
By the way what template are you using, I think it looked like the Live template but I cant see the pics while im posting to check.
Title: Re: Icon Masks
Post by: rejetto on August 17, 2007, 10:50:35 AM
yes, it's the template you are using that doesn't support custom icons for folders
Title: Re: Icon Masks
Post by: Nighted on August 20, 2007, 02:37:37 AM
Foggy, it's the damn template. Thanks for the info, I've modified it and it's now working.
Title: Re: Icon Masks
Post by: Foggy on August 20, 2007, 06:29:10 AM
Glad you got it workin.  ;D