Change 10 in MUSHclient 4.76 says
This was done because of http://www.gammon.com.au/forum/?id=11197
Except now there are far worse problems because it's not just the mouseover callback firing, but rather an entire mouse-move event happening any time a hotspot gets created. It looks like every time a trigger fires in any plugin the mouse position gets reset, which manifests in the following way:
I have a simple resizable miniwindow, like in this picture https://aardwolfclientpackage.googlecode.com/svn/trunk/wiki_images/ascii_map1.png
/While/ I am dragging the resizing tab, if any window updates its contents it does terrible things.
First, if as a result of the mouse-move the current miniwindow recreates hotspots (which then calls mouse-move again) then this obviously causes an infinite loop in the window (this happens in my chat capture window plugin, for example). But it also appears that if any /other/ miniwindow creates hotspots then the stored mouse position can get messed up which makes the window that is currently being resized jump around each time.
I originally was looking for /only/ mouseover callbacks to fire, which I think would solve these problems.
Quote:
If the mouse is over a hotspot after it was created then a mouse-move event is generated. Previously a newly-created hotspot was only noticed when you moved the mouse.
If the mouse is over a hotspot after it was created then a mouse-move event is generated. Previously a newly-created hotspot was only noticed when you moved the mouse.
This was done because of http://www.gammon.com.au/forum/?id=11197
Except now there are far worse problems because it's not just the mouseover callback firing, but rather an entire mouse-move event happening any time a hotspot gets created. It looks like every time a trigger fires in any plugin the mouse position gets reset, which manifests in the following way:
I have a simple resizable miniwindow, like in this picture https://aardwolfclientpackage.googlecode.com/svn/trunk/wiki_images/ascii_map1.png
/While/ I am dragging the resizing tab, if any window updates its contents it does terrible things.
First, if as a result of the mouse-move the current miniwindow recreates hotspots (which then calls mouse-move again) then this obviously causes an infinite loop in the window (this happens in my chat capture window plugin, for example). But it also appears that if any /other/ miniwindow creates hotspots then the stored mouse position can get messed up which makes the window that is currently being resized jump around each time.
I originally was looking for /only/ mouseover callbacks to fire, which I think would solve these problems.