Dplug icon indicating copy to clipboard operation
Dplug copied to clipboard

Keep receiving mouse wheel events in case of dragging outside of window boundaries

Open p0nce opened this issue 3 years ago • 1 comments

Currently, the UIElement under the mouse will receive the mouse wheel events, but perhaps also the keyboard events. This is wrong, the dragged element should receive it first if it exists.

p0nce avatar Apr 04 '22 20:04 p0nce

OK with 56cdc3276083d444985f5ecbf65e83df7fb70568 as long as mouse stays in window

But with Windows, when dragging a widget outside of the windows, WM_MOUSEWHEEL is not received anymore...

p0nce avatar Apr 12 '22 14:04 p0nce

Visual studio or the Chrome browser don't manage to do that, nor firefox. Neither Voxengo, Nova EQ, or EQuick. (EDIT: but we will, lol)

p0nce avatar Oct 13 '22 12:10 p0nce

Possible with low-level mouse hook

p0nce avatar Oct 13 '22 13:10 p0nce

Needs a bit of testing, seems dangerous

p0nce avatar Oct 13 '22 14:10 p0nce

Fixed in v12.8.2, quite ugly

p0nce avatar Oct 13 '22 15:10 p0nce

1074b57a53d5ad4c9e9ea5ad069f980daa95b92b

p0nce avatar Oct 13 '22 15:10 p0nce

Reopened, this is a bad idea when not needed, because it makes the mouse lag when the CPU is churning. This needs to be a Dplug options.

p0nce avatar Jul 24 '23 14:07 p0nce

It is now a Dplug Option: https://github.com/AuburnSounds/Dplug/wiki/More-Options

p0nce avatar Aug 30 '23 09:08 p0nce