Bug 474459

Summary: Renaming pattern field is cutting characters in MacOS
Product: [Applications] digikam Reporter: Fabio Sirna <fabio>
Component: AdvancedRename-fileAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 8.1.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 8.2.0
Sentry Crash Report:
Attachments: Screenshot of the modal with the issue highlighted

Description Fabio Sirna 2023-09-12 19:15:30 UTC
Created attachment 161588 [details]
Screenshot of the modal with the issue highlighted

SUMMARY

In Mac OS, the text field for entering the "renaming pattern" is too small and does not allow the entered string to be seen correctly. In the example, my string contains underscores that are not displayed.


STEPS TO REPRODUCE
1. select images
2. Rename...
3. try to type something in the renaming pattern filed (e.g. _1280x768_)

OBSERVED RESULT

some characters are not visible

EXPECTED RESULT

text input should be sized so that the user can see the entire string of text input and not cut off characters

SOFTWARE/OS VERSIONS
macOS: 13.5.2

ADDITIONAL INFORMATION

Thanks.
Comment 1 Maik Qualmann 2023-09-13 19:30:35 UTC
Git commit 09966a2ab081b0584089b051ef89ee376efb0375 by Maik Qualmann.
Committed on 13/09/2023 at 21:29.
Pushed by mqualmann into branch 'master'.

better calculation of the renaming input line edit height
FIXED-IN: 8.2.0

M  +1    -1    NEWS
M  +2    -1    core/utilities/advancedrename/advancedrenameinput.cpp

https://invent.kde.org/graphics/digikam/-/commit/09966a2ab081b0584089b051ef89ee376efb0375