WebBrowserComponent swallows mouse events


#1

Hi,

I’m using JUCE 4.2.4 on OS X 10.12.

I’ve found that the WebBrowserComponent swallows mouse events (at least on OS X). A minimal example illustrating this can be found here: http://pastebin.com/NbfryUgn

Is there any suggested way to change this behaviour such that mouse events can be intercepted prior to passing to the native browser? Note: I also tried placing another Component on top of the WebBrowserComponent, but it seems the browser wants to always be top most and swallow all events within its bounds.


#2

#3

I’m going to take a look into this now, but if you find any solutions let me know!


#4

@jamiebullock did you work this out? thinking I might somehow be able to trap my mouse when I start dragging the re-sizable layout


#5

I don’t think this is easily possible. The WebBrowserComponent is a native view overlay hovering on top of any JUCE components.


#6

@olilarkin I don’t think so. AFAIR I worked around the issue somehow.