Skip to content

cropping: occasional glitch in crop box #16831

Open
@ralfbrown

Description

@ralfbrown

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
  1. Open an image in darkroom
  2. press the keyboard shortcut to activate cropping
  3. 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)
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-issue-activitypriority: lowcore features work as expected, only secondary/optional features don'tscope: UIuser interface and interactions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions