Description
Describe the bug
When using a keyboard shortcut to adjust rotation while the crop box is displayed on the center image, the displayed box occasionally blips to a different aspect ratio and back to the correct size/position as the image is updated for the new rotation amount.
Steps to reproduce
Ensure that you have keyboard shortcuts bound to the rotation
slider in the rotate and perspective
module, and a keyboard shortcut to activate cropping. Also ensure that the automatic cropping in r&p is set to "original format".
bracketleft;alt=iop/ashift/rotation;up;*2.5
bracketright;alt=iop/ashift/rotation;down;*2.5
c=iop/crop
- Open an image in darkroom
- press the keyboard shortcut to activate cropping
- ensure that the selected aspect ratio for cropping differs noticeably from the image's aspect ratio (I was using 4:3 crop on 3:2 images)
- repeatedly press one of the rotation shortcut keys.
The glitch seems to happen only when cropping starts for the first time on an image, such that all four margin sliders show 0.0% (even though one margin is obviously nonzero). Usually the momentary display is at the image's aspect ratio, but I've also seen things that look like 16:9 (on my 3:2 images).
Expected behavior
the crop box should not be changing shape
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
self compiled
darktable version
recent (May 2024) masters, including 4.7.0+1246~gba9ce8eb15
What OS are you using?
Linux
What is the version of your OS?
Mageia
Describe your system?
AMD Threadripper 3970X (32C64T), 64 GB RAM
Are you using OpenCL GPU in darktable?
No
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response