mIRC Homepage
Posted By: Xaifas /toolbar bug - 08/09/08 02:02 PM
Im not really that sure if its a bug but here are the details:

Example:
I wanted to change the image of an toolbar icon. Lets say i do:
/toolbar -p connect example.bmp
The button for connect changes its image to example.bmp
And it works just fine if i click it

BUT

If after previous command I do /toolbar -fs to save the settings so I wont have to change image every time on start, when i re-start mirc, the connect button stays example.bmp BUT the button its self doesent work anymore. You can click it but nothing happens.

Tried on 6.31 6.32 6.33 6.34 versions same thing, all with no scripts loaded.

Any ideas?

Regards
Xaifas

Posted By: Wims Re: /toolbar bug - 08/09/08 02:33 PM
In the help file, there is a note under /help /toolbar, i think it might explain this behavior
Posted By: Xaifas Re: /toolbar bug - 08/09/08 02:42 PM
"Note: Modifying some of the default mIRC buttons, such as Connect, Notify, etc. may not always work since they are managed by mIRC. They can however be deleted."

What mirc help file says.

C'mon then what is the point of /toolbar -p ? if you change the default icons they are expected to not work anymore?

If so, why doesent it stop working after you change it? Since it does that after you restart mirc ...

So not cool, gues I have to start using dlls for even things that are implemented by default on mirc. frown

Posted By: Wims Re: /toolbar bug - 08/09/08 05:47 PM
I'm not saying it's not a bug, i don't know since i never used /toolbar.I think the note was just something you should be aware of
Posted By: Xaifas Re: /toolbar bug - 09/09/08 11:38 AM
Bump for this.
Wana see an fix on next version or an explication of why is mIRC behaving like that.

cry
Posted By: qwerty Re: /toolbar bug - 09/09/08 12:04 PM
Bumping a thread you opened just yesterday is annoying and serves no purpose. Your demanding tone doesn't help either.
Posted By: argv0 Re: /toolbar bug - 09/09/08 04:24 PM
Originally Posted By: Xaifas
if you change the default icons they are expected to not work anymore?

The above is a misleading statement. As far as I understand from your post, the icons will stay, so if you change the default icons they *are* expected to work. What isn't expected to work is changing default behaviour. This is explicitly stated in the documentation and is not a bug.

mIRC is an IRC client, not a scripting platform. It has functionality that it needs to make sure is being supplied to the user. mIRC is giving you permission with /toolbar to do what you need to do, but mIRC still needs to make sure it can do what *it* needs to do-- be a usable IRC client. Customizability is one thing, but if you really need to modify every feature in the UI you should consider writing your own client instead.

Originally Posted By: Xaifas
gues [sic] I have to start using dlls for even things that are implemented by default on mirc


No dlls necessary. You're making this more than it is. Try the ON START event:

Code:
ON *:START: {
  ; override toolbar behaviour here
}
Posted By: Xaifas Re: /toolbar bug - 09/09/08 09:28 PM
Quote:
The above is a misleading statement. As far as I understand from your post, the icons will stay, so if you change the default icons they *are* expected to work. What isn't expected to work is changing default behaviour. This is explicitly stated in the documentation and is not a bug.


I didnt changed the behaviour of buttons, i only changed the image of icons.

And using on *:START to change the icons everytime you start mirc is pointless and annoying since you got -fs to save the options.

Anyway I used dll so you can delete the thread.
Posted By: Wims Re: /toolbar bug - 09/09/08 11:00 PM
What is pointless is to use a dll when you don't need to
Posted By: argv0 Re: /toolbar bug - 09/09/08 11:54 PM
Dlls don't just load automatically, so I imagine you're using an ON START event to load it anyway.. I guess I'm missing the part where you conclude that resetting the toolbar on start is any different from using your dll which essentially does the same thing.
Posted By: Khaled Re: /toolbar bug - 10/10/08 03:07 PM
Thanks I was able to reproduce this issue. It's a little tricky because mIRC manages the default buttons itself on some levels. However this particular issue should be fixed for the next version.
© mIRC Discussion Forums