https://bugs.kde.org/show_bug.cgi?id=358641

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/spe
                   |                            |ctacle/754e1d3a92c13d9327f4
                   |                            |dbf3ed9abb08083af7dd
   Version Fixed In|                            |18.12.0
         Resolution|---                         |FIXED

--- Comment #12 from Nate Graham <n...@kde.org> ---
Git commit 754e1d3a92c13d9327f4dbf3ed9abb08083af7dd by Nate Graham, on behalf
of Kyle Utecht.
Committed on 19/10/2018 at 22:34.
Pushed by ngraham into branch 'master'.

Add default file name token for (padded) sequential file numbering

Summary:
Default file name tokens %d will add an auto-incremented sequential file number
when creating file names.
Numbering starts with 1. If the save directory has other files present with the
same name (excluding
extension) but another number in the place of %d, the next number after that of
the existing file will be
used to create the new file name.
The sequential number can be padded with %Nd where N is a number of total
digits. If the padded token is
used in the
default file name, only file names with a number of the padded length or longer
will be considered when
determining the next sequential number to use in the file name. For example,
with the save name like
'Screenshot-%3d' and a save directory with only 'Screenshot-3,' the next
generated file name will be
'Screenshot-001' since the existing file's number portion is not at least as
long as the padded number
length.
Related: bug 373759
FIXED-IN: 18.12.0

Reviewers: alexeymin, ngraham

Reviewed By: alexeymin, ngraham

Subscribers: shubham, ngraham, alexeymin, #spectacle

Tags: #spectacle

Differential Revision: https://phabricator.kde.org/D16304

M  +47   -1    src/ExportManager.cpp
M  +4    -2    src/Gui/SettingsDialog/SaveOptionsPage.cpp
M  +3    -2    src/SpectacleConfig.cpp

https://commits.kde.org/spectacle/754e1d3a92c13d9327f4dbf3ed9abb08083af7dd

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to