Comments (2)
wondering if the problem actually lies within nih_plug: the VST3 onKeyDown
implementation returns kResultOk
, but according to the API docs it should return either kResultTrue
or kResultFalse
depending on whether the key is consumed. perhaps kResultOk
is interpreted similarly to kResultTrue
?
i have a feeling that Reaper might be using these VST3 key handlers more pedantically than most hosts
from baseview.
returning kResultFalse
from the VST3 key handlers indeed allows the key events to flow to the plugin (this has been fixed in nih-plug now robbert-vdh/nih-plug@245add6)! but now the problem is that no key events are being consumed from Reaper's perspective, so e.g. the spacebar and enter keys will always get passed to Reaper. to fix this, baseview would need to have some way to signal to the VST3 key handlers about when to consume/ignore key events, but not sure what that would require.
this is also an issue with JUCE btw: https://forum.juce.com/t/reaper-stealing-spacebar-keystrokes-in-texteditor/30689/8
from baseview.
Related Issues (20)
- Linux: Panic when trying to receive raw window handle
- Support scroll events in Mac OS
- Reparented X11 windows don't receive keyboard events when not hovering over them HOT 1
- Support drag-and-drop in macOS HOT 1
- Resizing the window through a WindowHandle
- Handling window creation failures
- Setting the cursor icon
- macos: Support user-created wgpu surfaces. HOT 5
- macOS DAW UIs become very unresponsive after plugin window is opened HOT 1
- The initial click is ignored on macOS, requires mouse movement before the second click works correctly
- Add Wayland support HOT 3
- Panic in Reaper on Linux when closing plugin window HOT 2
- Windows: Panic "already borrowed" when reentering wnd_proc due to mouse move or timer
- Add support for Windows 7 and 8
- Add a `set_focus(bool)` interface for getting and losing keyboard focus HOT 2
- Basic OpenGL example proposal
- Development Sprint HOT 3
- Keyboard Input broken in parented Window - Windows 10 HOT 1
- Bump raw-window-handle = "0.6.2"?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baseview.