Skip to content

Rotate and perspective sliders swapping places between horizontal and vertical images #18122

Open
@Hpbirkeland

Description

@Hpbirkeland

Describe the bug

In the rotate and perspective module, the sliders for lens shift (vertical) an lens shift (horizontal) swap places depending on the orientation of the image. First of all it is confusing to not always find the same slider in the same place. Also, assigning dynamic shortcuts to those sliders does not make sense. If I assign a shortcut to "lens shift (vertical)" on a landscape oriented image, this shortcut will adjust "lens shift (horizontal)" on a portrait oriented image.
Skjermbilde horisontal
Skjermbilde vertikal

Steps to reproduce

  1. Open a landscape oriented image
  2. Open the rotate and perspective module
  3. See that Lens shift (vertical) is listed first, thne Lens shift (horizontal)
  4. Open a portrait oriented image
  5. Watch the two sliders swap places

Expected behavior

The horizontal and vertical sliders should always stay in the same place and have the same practical effect regardless of image orientation.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

OBS

darktable version

5.0.0

What OS are you using?

Linux

What is the version of your OS?

Mint 22 Cinnamon

Describe your system?

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Nvidia RTX 4060 Max-Q/Mobile,

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions