Bug 492345

Summary: Date not present in file name after cancelling rectangular region capture
Product: [Applications] Spectacle Reporter: Finley Watson <fin-w>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: normal CC: filip.kendes1, kde
Priority: NOR    
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.2
Sentry Crash Report:

Description Finley Watson 2024-08-29 00:45:12 UTC
ADDITIONAL INFO
I have not changed the default filename Spectacle uses.

STEPS TO REPRODUCE
1. Set Spectacle to "Use last-used capture mode" when opening
2. Capture a rectangular region
3. Close and reopen Spectacle. It should open in the rectangular region capture mode
4. Press ESC to get out of the capture mode, Spectacle window should show with a fullscreen image capture, not a region
5. Save the image. It saves a file, but

OBSERVED RESULT
File is saved as  Screenshot_<yyyy><MM><dd>_<HH><mm><ss>.png  (sometimes as Screenshot__.png ?) and is reported in Spectacle as being saved as Screenshot__.png 

EXPECTED RESULT
Date stamp is correct

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Filip 2024-12-02 10:14:26 UTC
Can confirm.

Although, I would think that if a user user cancels the screenshot in Rectangular region  mode, there shouldn't be created screenshot in the first place.
Comment 2 Finley Watson 2025-07-04 11:07:47 UTC
Fixed by the changes in program behaviour in Spectacle 6.4.2 or possibly earlier