PdArray icon indicating copy to clipboard operation
PdArray copied to clipboard

Cardinal async dialog filebrowser

Open falkTX opened this issue 10 months ago • 4 comments

This adds support for Cardinal-specific file browser API, which is does not block the main event loop unlike osdialog. Compatibility with original VCV Rack is maintained by the use of a compiler macro only present during Cardinal builds.

falkTX avatar May 03 '24 22:05 falkTX

Thanks, I appreciate the contribution. However, I would prefer to keep only vanilla Rack-related code in this repo - I don't have the capacity to test also with Carla or others. Is it too much work for you to maintain a fork with this patch?

mgunyho avatar May 07 '24 05:05 mgunyho

Typically I prefer to avoid forks if possible, as that creates more work when there is a need to update the plugins. Instead of a "git pull" on a submodule, there is a whole rebase-and-push-to-fork thing needed, and can only be done by cardinal maintainers too unlike vs when everything is upstream.

falkTX avatar May 07 '24 06:05 falkTX

Hmm I see your point about the fork workflow being a bit convoluted.

If you have the plugin as a submodule, could it be possible to have a patch in your repo that you would then apply? See here or here

mgunyho avatar May 07 '24 15:05 mgunyho

that would change the source code and make it "unclean" for every git diff, also not doable with cardinal having release tarballs and it becoming a mess to maintain.

falkTX avatar May 07 '24 16:05 falkTX