SUMMARY For renaming photos according to their EXIF data, I need a long text due to reg expression. e.g. "[1-4{[exifExif.Photo.DateTimeOriginal]}][6-7{[exifExif.Photo.DateTimeOriginal]}][9-10{[exifExif.Photo.DateTimeOriginal]}]_[12-13{[exifExif.Photo.DateTimeOriginal]}][15-16{[exifExif.Photo.DateTimeOriginal]}][18-19{[exifExif.Photo.DateTimeOriginal]}][21-22{[exifExif.Photo.DateTimeOriginal]}] - " This leads to a window size of krename which far over the set screen size. This makes working with this app not easy. This behavior continues for other renaming procedures (out of jpgs) since the regex from above is in the text cache When the text cache is cleard krename displays as it should. STEPS TO REPRODUCE 1. Test the regex above SOFTWARE VERSIONS Tested with Arch Linux and Debian 10 Testing. Actual versions 2018-09-23 ADDITIONAL INFORMATION Thanks to all guys for working at KDE-Software and Plasma
Sorry, for the late reply, but I can't really reproduce this at the moment with the given regular expression. Maybe you can be more specific where/how this happens. Thank you in advance.
Created attachment 132568 [details] Screenshot of the maximized window Hope my screenshot makes something clearer. Best Regards Andy
Thanks for the update; changing status. The long EXIF data text is probably in a different tab, but affects the minimum size of the complete window.
If I use this regex the window still looks normal like in the screenshot
Created attachment 151741 [details] screenshot
Never mind, sorry, it has to be in the history to cause this.
Git commit cedc51151941495a9bb67b3b679c520e5b49e3a8 by Heiko Becker. Committed on 31/08/2022 at 20:57. Pushed by heikobecker into branch '5.0'. Prevent resizing issues with huge history entries A long entry in the history of the Template combo box can lead to a huge, unresizeable Window. Setting the minimum width of he main window to some artifical minimum value works around that, until a better fix is found. FIXED-IN: 5.0.2 M +7 -0 src/krenamewindow.cpp https://invent.kde.org/utilities/krename/commit/cedc51151941495a9bb67b3b679c520e5b49e3a8