-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Clipboard implementation #514
base: r13
Are you sure you want to change the base?
Conversation
* Supports copy/pasting actions from one button to another.
@WhiteMagic - I know r13 is frozen, I opened PR just to get feedback and if you see things changing for r14 a lot that such approach could not be used. |
R14 has an entirely different profile structure which differs drastically from R13 and prior. An issue with the clipboard as implemented here is that it is not granular enough. It will copy an entire input rather than particular actions or even containers, so I wouldn't go for a solution like this. Configurations in R14 are split differently. In R13 actions are directly linked to inputs, this changes in R14 where actions are stored in a shared library and inputs simply refer to a set of actions they use. This makes it possible to add existing actions to new inputs, which is effectively copy&paste. Something to work out is whether those assignments are treated as copies or references. It would also be possible, though not something I'm considering currently, to add copy and paste as actions or similar to individual actions. All this is significantly simpler in R14 as the information required for these operations is just an identifier rather than actual data, which is already used by the drag&drop part of the UI. #425 has some pointers to other issues around this whole idea of making it easier to duplicate and move configuration aspects. |
@WhiteMagic - thanks for the feedback. It's good to hear that R14 will be including these kind of features, which make profile editing more efficient. Thanks! |
In the new system there no longer is the distinction between container and actions. A container is effectively just an action that has other actions as children. So copying an action will actually copy everything "associated" with it. So it could be a simple remap or a highly complicated tempo container with conditions, macros, etc. Figuring out the UI side of things will be more challenging, as just keyboard shortcuts won't know what part the user is interested in. One option is to have a context menu or copy&paste buttons on the UI, thought that might get a bit unwieldy. |
Please consider such functionality (if not already) for r14. Feedback is welcome (NOTE: I don't consider myself a Qt developer at all, so I might have done things at wrong places).
The feature is very much useful when moving things around. I have more ideas on right-clicking the button and giving a user ability to:
But all of these could use Clipboard to get stuff done.