+1
To nie jest błąd

Bug regarding a middle click tweak

Anonim 11 lat temu Ostatnio zmodyfikowane przez Michael (Ramen Software) 11 lat temu 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.

Odpowiedź

Odpowiedź
To nie jest błąd
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.
W trakcie analizy
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.
Odpowiedź
To nie jest błąd
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.