Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
How can I avoid that Media (probably CEF) captures my mouse events?

For instance, I move the camera forward by holding down RMB and dragging it. When I drag it outside of the window and only then release RMB, it is still consired pressed when the mouse pointer reenters the window.

Posted 5 years ago
Votes Newest


I think the active control actually gets the mouse-up event but maybe the cameracontroller behaves inconsistently. However when switching to a different application (alt+tab) the state will still be messed up.

The only fix I can think of is to register events for loosing/getting focus. I think they're called onblur and ongotfocus or similar.


Posted 5 years ago

The blur event in the camera is only triggered when switching to a different application. But we might also need an event when the mouse pointer just leaves the window.

DrShirota   5 years ago Report

maybe onMouseLeave - https://www.w3schools.com/jsref/event_onmouseleave.asp

DrShirota   5 years ago Report