Page 1 of 1

Small visual bug when hovering and highlighting tabs

Posted: 04 Dec 2012 17:52
by tedy
This really is a small visual glitch but it has been there in XY for ages so I finally decided to speak out :) .
Win7 x64, Aero enabled. Normal tabs.
By default when you hover over the tabs with the mouse, they are highlighted with a blueish tint (the inactive ones). When the cursor leaves an inactive tab, it is restored to its default style. Well, not always. Sometimes when I go back to XY from another program I find some (one) of the inactive tabs tinted with that blueish highlight and the mouse is far away. In this situation if I move the cursor over the inactive tabs, they are (re)highlighted as they should but once the cursor leaves the tabbar, the last highlighted inactive tab persists its tint as well. If then I click on any tab, the issue is gone. Until the next time.
I cannot tell what exactly is causing this but there is an easy way to reproduce it.
It seems as if some "onmouseout" event handler is lost when you defocus the XY window at the time when the cursor is over an inactive tab.
Place the mouse cursor over some inactive tab. It gets highlighted (tinted). Now alt+tab to another application (the cursor still over the tab). Move the cursor away somewhere. Switch back to XY. The tint persisted and will not go away until some tab is clicked, even after hovering tabs.

Re: Small visual bug when hovering and highlighting tabs

Posted: 04 Dec 2012 18:41
by admin
Confirmed. Same happens also with toolbar. Well, happened. I fixed it. :twisted:

Re: Small visual bug when hovering and highlighting tabs

Posted: 04 Dec 2012 20:17
by tedy
Fast, as always :) .
Just to make sure and clear - I have never witnessed this effect with the toolbar. As soon as I hit Tab in alt+tab, the highlighting of the toolbar button under the cursor disappears and its original state is restored. It's just with the tabbar. Just to make sure we are talking about the same thing.

Re: Small visual bug when hovering and highlighting tabs

Posted: 04 Dec 2012 20:57
by admin
tedy wrote:Fast, as always :) .
Just to make sure and clear - I have never witnessed this effect with the toolbar. As soon as I hit Tab in alt+tab, the highlighting of the toolbar button under the cursor disappears and its original state is restored. It's just with the tabbar. Just to make sure we are talking about the same thing.
Hm, interesting. Here I got both and fixed both. We'll see...

Re: Small visual bug when hovering and highlighting tabs

Posted: 04 Dec 2012 21:23
by tedy
Well, anyway. Maybe your environment is somehow slightly different and affects the toolbar as well.
As you reproduced the tabbar issue, I think everything will be fine :) .