We’ve started to receive customer reports about mouse wheel messages being processed by the wrong window when (1) a JUCE plugin editor is on screen, and (2) another window that has focus is over the JUCE plugin window.
In some hosts (notably Audacity, likely Wavelab), the mouse wheel messages are consumed by the JUCE plugin instead of the window that has focus and is on top of the JUCE plugin window, causing mouse wheel messages for the focussed window to stop working.
At this point in time we are unsure whether this is a JUCE bug, an Audacity bug, or a Windows 11 bug - but wanted to report this so that everyone else is aware.
The issue can be reproduced with an empty JUCE plugin project: create a new (hello word) JUCE plugin project, build VST3, and open the VST3 editor in Audacity.
Then open an additional Audacity window that works with mouse wheel events, for example the internal Delay effect. See screenshot:
When the Delay dialog is not overlapping the JUCE plugin, you can hover one of the sliders of the Delay dialog and control the value using the mouse wheel.
However, when moving the Delay dialog over (on top of) the JUCE plugin, such that the slider in the Delay dialog overlaps with the JUCE plugin, any mouse wheel messages are now consumed by the JUCE plugin and not by the Delay slider, even though the mouse is clearly on the Delay slider.
Changing mouse settings in Windows 11 does not change this issue; notably the ‘School inactive windows when hovering over them’ setting does not make any difference.

The same problem happens with other VST(3) plugins, but not all, which start to drop mouse wheel support as soon as their editor overlaps a JUCE plugin. Melda plugins are one example that loose mouse wheel support when they are in focus but have a JUCE plugin underneath their editor.
Has anyone seen this behavior? Are there any workarounds?
