Summary: | Allow "/" in customized screenshot directory settings to dive into auto-created monthly subdirectories /%Y/%M/ | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | Tom <mail> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, null |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 18.04.0 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/spectacle/1612995b54038225e345064754e6ede2e589fd9f | Version Fixed In: | |
Sentry Crash Report: |
Description
Tom
2018-05-13 00:51:56 UTC
Nice idea, makes sense to me. To make this discoverable, I guess it's enough to add a help text to the config dialog similar to what's done for the other placeholders. However, note that some sanitizing still needs to happen, e.g. for window titles containing "/". Only "/" explicitly added in the config dialog should result in the creation of a directory. Patch available in https://phabricator.kde.org/D12993. Git commit 0dcd790a03b0a25babbd2a36f59ea809caf207ac by Henrik Fehlauer. Committed on 28/05/2018 at 22:42. Pushed by rkflx into branch 'master'. Allow saving screenshots in custom auto-generated subdirectories Summary: This patch allow the use of "/" in the filename field of the config dialog to save screenshots in auto-generated subdirectories inside the default save directory. Test Plan: Tested for local and remote (Google Drive) save locations. Reviewers: #spectacle, rkflx Reviewed By: #spectacle, rkflx Subscribers: ngraham, rkflx, #spectacle Tags: #spectacle Differential Revision: https://phabricator.kde.org/D12993 M +45 -3 src/ExportManager.cpp M +6 -0 src/Gui/SettingsDialog/SaveOptionsPage.cpp https://commits.kde.org/spectacle/0dcd790a03b0a25babbd2a36f59ea809caf207ac Git commit 1612995b54038225e345064754e6ede2e589fd9f by Henrik Fehlauer, on behalf of Marco Scarpetta. Committed on 28/05/2018 at 22:46. Pushed by rkflx into branch 'master'. Allow saving screenshots in custom auto-generated subdirectories Summary: This patch allow the use of "/" in the filename field of the config dialog to save screenshots in auto-generated subdirectories inside the default save directory. Test Plan: Tested for local and remote (Google Drive) save locations. Reviewers: #spectacle, rkflx Reviewed By: #spectacle, rkflx Subscribers: ngraham, rkflx, #spectacle Tags: #spectacle Differential Revision: https://phabricator.kde.org/D12993 M +45 -3 src/ExportManager.cpp M +6 -0 src/Gui/SettingsDialog/SaveOptionsPage.cpp https://commits.kde.org/spectacle/1612995b54038225e345064754e6ede2e589fd9f |