Skip to content

Conversation

@deekayhd
Copy link
Contributor

@deekayhd deekayhd commented Jan 21, 2026

This enhancement proposal originated from a suggestion on the pixls.us forum by user elGordo (Displaying freeform crop aspect ratio). See also feature request #20192
In the crop module when adjusting the crop, the dimension of the crop area are displayed as x in the middle of the frame. The proposal is to also show the aspect ratio of the crop area, as shown in the screenshot:
image

@wpferguson
Copy link
Member

It would be good in the future to raise an issue first then do the PR. This takes care of the case where the "issue" gets "worked" in pixls.us instead of in the darktable repository. I'm all for pixls.us as a breeding ground for ideas, but I think the workflow needs to be pixls.us -> issue -> pull request. This gives devs a chance to chime in/buy in and it prevents "feature creep" from pixls.us.

@deekayhd I'm not criticizing you and I'll make a post in pixls.us with the above. See #20123.

@deekayhd
Copy link
Contributor Author

deekayhd commented Jan 21, 2026

@wpferguson I get your point. Actually, I know your proposal in #20123, but I misunderstood it, as it mentions only fixes. But I understand that it is desirable for feature requests, as well.
I surely can still create a feature request for this.

@wpferguson
Copy link
Member

but I misunderstood it, as it mentions only fixes

You're right, it does read that way. I'll fix it. Thanks.

@rgr59
Copy link

rgr59 commented Jan 22, 2026

I think the display of the crop properties would be a nice enhancement, but it's position in the center can be distracting when trying to get an impression of the cropped image. Maybe e. g. moving it up, so it touches the upper image boundary - while still be centered horizontally -, would be less intrusive? Also I think the grey background is a little large with respect to the text.

@wpferguson
Copy link
Member

but it's position in the center can be distracting when trying to get an impression of the cropped image

This PR is just to add text to existing functionality. If the placement needs to be changed, then that should be a separate issue for discussion with a PR to follow.

@deekayhd
Copy link
Contributor Author

but it's position in the center can be distracting when trying to get an impression of the cropped image.

@rgr59 I do not think this is a problem. When you release the left mouse button, the dimensions and ratio vanish.

@deekayhd
Copy link
Contributor Author

If the placement needs to be changed, then that should be a separate issue for discussion with a PR to follow.

@wpferguson Wouldn't that be too much overhead for the process? The requirement, as also described in the RFC #20192, is to show the aspect ratio while cropping. It was an initial suggestion to put it next to the dimensions, but discussing the position would still be part of the specification for this one, IMO.

@wpferguson
Copy link
Member

wpferguson commented Jan 23, 2026

Right now crop appears in the center and everyone is used to it appearing in the center, correct? If you change the crop display from the center to somewhere else, you've changed the behavior for all users without any heads up. Also the issue says middle of the screen.

EDIT: Or worse yet left the crop dimensions in the center and put the aspect ratio somewhere else so you'd need 3 eyes to keep track of everything (dimensions, ratio, image).

@deekayhd
Copy link
Contributor Author

I think I misunderstood the comment to relate to the aspect ratio, only. I also would not want to split the display or move everything elsewhere with this PR. Sorry for the noise.

@rgr59
Copy link

rgr59 commented Jan 23, 2026

I do not think this is a problem. When you release the left mouse button, the dimensions and ratio vanish.

Sure, and while resizing the display does not disturb much. More so when after resizing you move the crop around to find the best place for it. Maybe the display can be suppressed while moving, and shown only when the mouse button is pressed while being over a resize handle?
But anyhow this is really a very minor "complaint" :-)

@deekayhd
Copy link
Contributor Author

As wpferguson already commented, we should discuss this kind of change in a separate issue/PR, because it has a greater impact on the UX than simply adding the additional ratio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants