-
Notifications
You must be signed in to change notification settings - Fork 566
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
feat: split off the current image in iv into a separate window (#2058) #4017
feat: split off the current image in iv into a separate window (#2058) #4017
Conversation
The new window gets initialised with the default settings. I'm not sure how much of the current window's viewer state we want to retain. |
Nice! Instead of "split off", I would suggest calling the menu item "Move to new window", that seems to be what the equivalent operation is called in some other apps I just randomly sampled (Firefox, Chrome, Obsidian). |
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.
I suggested a different name for the command, but other than that, this LGTM.
204f54f
to
7be78fd
Compare
…mySoftwareFoundation#2058) Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz>
7be78fd
to
90842d1
Compare
Thanks Larry, I have renamed the command. |
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.
Aha, your CLA is working now! @antond-weta, there appear to be a couple very minor clang-format fixes needed. As soon as that's ready, we're definitely ready to merge this. |
…fix formatting Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz>
…cademySoftwareFoundation#4017) This change adds a menu item "Move to new window" under the menu "File" which creates a new window and initialises it with the currently displayed image. I have tested the UI changes on Mac and linux, I don't have a Windows machine currently. No other functionality should be affected by this change. This was one item from issue AcademySoftwareFoundation#2058 --------- Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz>
Description
This change adds a menu item "Split off" under the menu "File" which creates a new window and initialises it with the currently displayed image.
Tests
I have tested the UI changes on Mac and linux, I don't have a Windows machine currently.
No other functionality should be affected by this change.
Checklist:
(adding new test cases if necessary).
corresponding Python bindings (and if altering ImageBufAlgo functions, also
exposed the new functionality as oiiotool options).
already run clang-format before submitting, I definitely will look at the CI
test that runs clang-format and fix anything that it highlights as being
nonconforming.