-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add drag & drop functionality for opening files (in macOS) #69
Add drag & drop functionality for opening files (in macOS) #69
Conversation
af28297
to
421d7df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
I think the only remaining step is to take care of the DCO requirement. You can see instructions on how to do that here: https://github.com/OpenTimelineIO/raven/pull/69/checks?check_run_id=30779161433
Signed-off-by: Fernando Ortega <[email protected]>
Signed-off-by: Fernando Ortega <[email protected]>
Signed-off-by: Fernando Ortega <[email protected]>
Signed-off-by: Fernando Ortega <[email protected]>
38633cb
to
9ade540
Compare
@jminor Thank you! I just updated my commits with the sign off. |
@jminor by the way, I mentioned in the description this just fixes it for macOS, there's a bit of work left to do for windows/linux. Would you prefer to have that as a separate issue? (I'm happy to give it a go later on) |
Yep, I saw that. We can update #57 to clarify that there is work needed to bring this feature to the other platforms. |
Thanks for the contribution @agetroortega ! |
Thanks a lot! It was a fun one! |
Super nice, thank you for your work! :) |
…ineIO#69) Signed-off-by: Fernando Ortega <[email protected]> Signed-off-by: jspadafora <[email protected]>
Summary
This allows the user to drag and drop files from the file system onto the app to be opened, a pop up window will prompt the user for confirmation.
NOTE: For Dev Days I only have macOS setup for building, so this PR only addresses that OS. I believe the functionality needs to be implemented for each platform.
Change List
Testing
I tested the following with a file currently loaded and with an empty session.
Examples
Open a valid file
open_otio_file.mov
Invalid files and user clicking "No"
validation_and_abort.mov
Fixes #57