| Summary: | Impossible to predefine filters with --getopenfilename | ||
|---|---|---|---|
| Product: | [Applications] kdialog | Reporter: | Nico Dorn <nicodorn> |
| Component: | general | Assignee: | Brad Hards <bradh> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nico Dorn
2017-07-20 12:03:24 UTC
Pardon me! It must have been introduced with KDE Applications 17.04.3, naturally. :) kdialog --getopenfile /tmp/ "Tar File (*.tar.gz)" is the official glob type syntax and works. I am not sure if your glob without a name and a correct pattern worked because of a bug, or if it was a documented feature. Thanks for your answer! That works indeed. It used to work without wildcard. But it's correct to presume it's use. So I'd say, this is not a bug, but I would like to propse to add another helpline to kdialog --help, since filters can be used for several functions. Something like that: Arguments: [arg] Arguments - depending on main option [filter] File type filter - usage: "*.xml" or "XML file (*.xml)" |