https://bugs.kde.org/show_bug.cgi?id=467868
Bug ID: 467868 Summary: kdialog --getopenfilename filter argument regresses, needs updated documentation change in usage text Classification: Applications Product: kdialog Version: 22.12.3 Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: br...@frogmouth.net Reporter: k...@callthecomputerdoctor.com Target Milestone: --- SUMMARY kdialog's --getopenfilename argument used to accept a simple filter of file extensions, like *.jpg, but the functionality has changed to only support Mimetypes, and it is not documented in the usage text. Scripts which use kdialog appear to be broken. It's annoying, but it needs to be documented somewhere, and it would be super if kdialog itself documents itself. STEPS TO REPRODUCE 1. In Konsole, type kdialog to see the usage text. We're interested in getopenfilename: --getopenfilename File dialog to open an existing file (arguments [startDir] [filter]) Instead of just "[filter]", it should say: "[Mimetype filter]" 2. To test this, type: kdialog --getopenfilename ~/Downloads "*.jpg" A standard file dialog will appear, but instead of only showing .jpg files, it shows *all* files, and any file can be selected. A regression. This is documented here: https://develop.kde.org/docs/administration/kdialog/#--getopenfilename-dialog-box https://mostlylinux.wordpress.com/bashscripting/kdialog/#get-open-file-name 3. The new, Mimetype-only functionality of kdialog is now: kdialog --getopenfilename ~/Downloads "image/jpeg" Filtering works as expected. Please update the usage text to reflect this. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 5.19.0-35-generic (64-bit) Graphics Platform: X11 -- You are receiving this mail because: You are watching all bug changes.