+1
No es un bug

Bug regarding a middle click tweak

Anónimo hace 11 años actualizado por Michael (Ramen Software) hace 11 años 0

A minor bug with the middle click tweak "Switch to" I noticed: If the user makes thumbnail previews appear by middle clicking a group, the currently active window doesn't appear highlighted. The problem doesn't occur when the user brings the previews with a left click or by hovering.

Respuesta

Respuesta
No es un bug
I've looked at it. The cause is that Windows 7 seems to special-case the behavior of the HSHELL_WINDOWACTIVATED message for the left mouse button.

For left click it goes like:
Press the mouse button -> Move/Release it -> HSHELL_WINDOWACTIVATED is sent.
For other buttons:
Press the mouse button -> HSHELL_WINDOWACTIVATED is sent.

So between the time you press the middle mouse button and the time thumbnails are shown, there considered to be no active window.

These shell message are quite a low level mechanism, and while it might be fixable, it doesn't worth the effort.

On Windows 8, it seem to work the first way for all mouse buttons.

I'm marking it as "not a bug". It's not a tweaker's bug after all.
En revisión
Seems like a Windows 7 only issue - I couldn't reproduce it on Windows 8.
I'll look at it closer when I have time.
Respuesta
No es un bug
I've looked at it. The cause is that Windows 7 seems to special-case the behavior of the HSHELL_WINDOWACTIVATED message for the left mouse button.

For left click it goes like:
Press the mouse button -> Move/Release it -> HSHELL_WINDOWACTIVATED is sent.
For other buttons:
Press the mouse button -> HSHELL_WINDOWACTIVATED is sent.

So between the time you press the middle mouse button and the time thumbnails are shown, there considered to be no active window.

These shell message are quite a low level mechanism, and while it might be fixable, it doesn't worth the effort.

On Windows 8, it seem to work the first way for all mouse buttons.

I'm marking it as "not a bug". It's not a tweaker's bug after all.