v0.6.2 Tooltips and MousePassThrough
Posted: Thu Oct 15, 2009 22:31
This is in v0.6.2, as I do not have v0.7 yet I cannot test this there.
If you have a button with a tooltip, and the tooltip appears under the cursor, when you click the event is consumed by the tooltip and not the button. So the button doesnt fire and your window loses focus. Note that the tooltip must appear directly under the cursor, if the tooltip is offset from the cursor (because you are near the edge of the screen) this doesn't happen. To fix this, you can set MousePassThroughEnabled to true on the tooltip window; I believe this should be the default setting for a tooltip window.
If you have a button with a tooltip, and the tooltip appears under the cursor, when you click the event is consumed by the tooltip and not the button. So the button doesnt fire and your window loses focus. Note that the tooltip must appear directly under the cursor, if the tooltip is offset from the cursor (because you are near the edge of the screen) this doesn't happen. To fix this, you can set MousePassThroughEnabled to true on the tooltip window; I believe this should be the default setting for a tooltip window.