darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Removing max height of histogram

Open johnlb opened this issue 1 year ago • 4 comments

When implementing height limits on modules, the histogram container was also limited. This is not desirable, though, since screens with high resolution make the histogram small and hard to read, particularly when using the scope. This commit fixes this by doing two things:

  1. Making functions auto-detect whether they should use height or aspect ratio to manage the container size by checking whether the passed "config_str" variable refers to height or aspect ratio -- Note: this is actually safer anyway, since it was perfectly possible before to pass an AR request to a height function

  2. Changing the histogram back to using aspect ratio instead of height

johnlb avatar Jun 23 '24 18:06 johnlb

Limited height histogram/waveform is actually some kind of regression as it seems there were no such limitation in past releases. A tall waveform is better for distinction of tones.

pomoke avatar Jul 06 '24 06:07 pomoke

Is there anything else needed from me for this to get added? Would it be useful for me (or would it be useful in the future) to open a ticket to track/document the issue better?

johnlb avatar Jul 07 '24 02:07 johnlb

This pull request has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please verify it has no conflicts with the master branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work.

github-actions[bot] avatar Sep 06 '24 00:09 github-actions[bot]

@johnlb : Sorry for the long delay before the review!

TurboGit avatar Oct 19 '24 13:10 TurboGit

@johnlb : Any news about this? Do you want to pursue the work or should I close this PR?

TurboGit avatar Jan 22 '25 18:01 TurboGit

Hmmm I thought I had pushed the changes you requested a while ago. Maybe it didn't make it to the master repo? I'll sync mine up again and push it after work today.

johnlb avatar Jan 22 '25 18:01 johnlb

Alright I think I got all of the braces. Seems to be working on my side after a re-compile. Let me know if I missed anything!

johnlb avatar Jan 24 '25 04:01 johnlb

@johnlb : Don't see the change on my side, the braces are still wrongly placed. And please do not merge master into the topic branch, if needed do a rebase. TIA.

TurboGit avatar Feb 28 '25 21:02 TurboGit

@johnlb : Any new on this? TIA.

TurboGit avatar May 16 '25 06:05 TurboGit

Almost a year without response. Closing.

TurboGit avatar Sep 07 '25 05:09 TurboGit