Comments (3)
Will your patch work also for the case that you start with a ctrl-click and then move the mouse and release the ctrl modifier in between and you still get a right mouse move? I don't think so.
I think NSViewFrame needs to remember the initial mouse down state and use that for move messages, or?
from vstgui.
That's a good point and I think you're right that it won't cover that. Admittedly in my own code, I reserve right-click for contextual menus (as is typical Mac behavior, but not universal), and so mouse tracking beyond the click is left to the OS so it doesn't matter. But you're right that it wouldn't work as expected if someone wanted to continue tracking a right-click in VSTGUI. So yeah, NSViewFrame would need to essential hold state that persists a mapping of that left-click+control to right-click for the lifetime of the click-hold, and allow the control key to function independently of that upon being released during that click-hold lifespan.
Would you like me to take a stab at a patch that does that?
from vstgui.
I think I will do this myself as I see an opportunity to refactor a little bit in this area. But thanks for the offer.
from vstgui.
Related Issues (20)
- Bogus error "unsupported compiler"
- Project doesn't install anything HOT 4
- Some modern casting issues.. CBitmapPixelAccess::setPosition and itmapPixelAccess::operator++ HOT 2
- Reintroduce setBackOffset() / getBackOffset() and respect the backOffset in all views / controls HOT 4
- FR - Linux HIDPI support HOT 9
- Requesting accessibility implementation, expose GUI controls to platform specific APIs HOT 7
- Use of new CMultiBitmap implementation in CAnimKnob is not backwards compatible HOT 1
- 4.12.1 cswitch.cpp fails compilation with VSTGUI_ENABLE_DEPRECATED_METHODS=0 HOT 1
- CAnimKnob not receiving mouse button release in some hosts HOT 20
- Unhandled exception when using vstgui HOT 2
- compile error after updating to Xcode 14.3: no member named 'move' in namespace 'std'
- getChildViewsOfType() with option 'deep' searches only one level deep HOT 1
- ui built on ver 4.11+ will flicker especially run on vst3plugintesthost 64bit HOT 8
- Issue when building with Xcode 14.3 HOT 1
- Segment Button segment names string gets replaced by parameter steps normalized value in Release build HOT 3
- Font drawing inconsistencies between Mac and Windows HOT 5
- [Windows] Cannot move window after a COptionMenu has been popped up HOT 2
- Standalone application crash with newest version of vst3sdk (3.7.9) on Windows when using transforms HOT 6
- std::unique_ptr of forward-declared types HOT 1
- COptionMenu().getMax() returns 18446744073709551616
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 vstgui.