Bug 513432

Summary: %d in filename in Save Configuration page shows 20210517 instead of sequential number
Product: [Applications] Spectacle Reporter: Richard Parkins <aleph0hpela-kate>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: normal CC: fella, kde
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of spectacle help page

Description Richard Parkins 2025-12-16 11:58:18 UTC
SUMMARY
%d in filename in Save Configuration page shows 20210517 instead of sequential number

STEPS TO REPRODUCE
1. Go to Save Configuration page
2. Type %d into Filename field
3. 

OBSERVED RESULT
Preview shows 20210517.jpg

EXPECTED RESULT
Preview shows a number followed by .jpg

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 

ADDITIONAL INFORMATION
20210527 looks like a date, but it isn't today's date
%Nd (N a number) still shows 20210517.jpg
0%Nd (N a number) shows 0210517.jpg
00%2d shows 0001.jpg
Comment 1 Tobias Fella 2026-02-10 16:19:07 UTC
According to the documentation of the placeholders, "<#>" should be used for a sequential number, <dd> and others for dates.
Comment 2 Richard Parkins 2026-02-10 17:18:44 UTC
Created attachment 189441 [details]
Screenshot of spectacle help page

Please see attached screenshot from spectacle help page on "Configure". It quite definitely says %Nd: Sequential number. I can't see any mention of "#".
Comment 3 Tobias Fella 2026-02-10 17:22:51 UTC
Your version of spectacle is from august 2023 and no longer maintained. Please update to a current version