| Summary: | Spectacle should trim whitespace in filenames | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Doug B <work> |
| Component: | General | Assignee: | Boudhayan Gupta <me> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 19.12.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Doug B
2020-02-01 00:17:51 UTC
Makes sense. Should we also trim spaces at the beginning or are there use cases for that? I'd say so. Don't believe there is a use-case for spaces at the beginning. Maybe someone else will chime in on that. Is this something we should really handle in Spectacle, or in the save dialog itself, maybe? If there isn't a valid use case for saving a file with whitespace after the filename in Spectacle, it's likely that the same is true of every other app. It would make sense to inform the user and (optionally) correct any surrounding whitespace when he enters such a template in the Spectacle configuration dialog. It also makes sense generally in the Save dialog, so I suggest to use two separate tickets. |