-
Notifications
You must be signed in to change notification settings - Fork 1.3k
styles module: hide option to create duplicate in darkroom view #20177
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
base: master
Are you sure you want to change the base?
Conversation
TurboGit
left a comment
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.
Looks good, just some style fixes. TIA.
|
Tested, works for me... |
Thanks for testing. :-) |
|
Proposal for the release notes (if needed): |
|
I think I might have missed something in the discussion. The checkbox was reported as not working and instead of a modification to have it actually function and function correctly, the option selected was to hide the feature. I'm not sure other alternatives suggested to justify the removal provide the same workflow functionality. |
It was not working intentionally, we don't create a duplicate from a style in darkroom. The darkroom is to work on a single picture, the one on the center area. |
TurboGit
left a comment
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.
Something not working on my side. On lighttable select the duplicate checkbox in the module. Enter darktable, back to lighttable and see that the checkbox is visible but has not been selected.
Yes, I also noticed that. See my last commit. Thanks for your thorough testing. |
|
Alternatively, simplify the whole thing by not changing the active state of the toggle and making sure that it is ignored when in darkroom. This mean just adding Then |
I thought about that, too. But it seems safer to me to actually change the toggle. You never know what will be changed later in the module. Someone may see that there is a toggle in dt_lib_styles_t and check the state not thinking about the restriction in darkroom view. Yes, there is already a separate apply method for the darkroom, but with the current logic, it is more explicit. |
Rather the opposite! I'm sure people will break things, no matter what you do... |
@Garry611 I can understand you confusion. However, my impression is that there is a consensus among the core developers who commented here (TurboGit, dterrahe, wpferguson), that the creation of duplicates is not wanted in the darkroom view. As TurboGit commented, in darkroom view you work on a single image. Application of a style to that image is completely fine, but creating other versions "under the hood" may also be confusing, as there is no other example for such an operation. |
Proposal for issue #20173:
Due to a recent change it is now possible to add styles module to the darkroom view. However, the option to create a duplicate before the application of the style does not work there.
Therefore, I propose to deactivate and hide the checkbox in the darkroom view.
Of course, it could be discussed, why this module can be used in darkroom, at all, as there is already the possibility to apply styles in the darkroom view via the quick access.