Bug 486995 - Resulting image contains %Y%M%D_%H%m%S in its name instead of the actual date
Summary: Resulting image contains %Y%M%D_%H%m%S in its name instead of the actual date
Status: RESOLVED DUPLICATE of bug 484211
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.02.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-14 01:09 UTC by Mircea Kitsune
Modified: 2024-05-14 08:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
filename format (2.97 MB, image/png)
2024-05-14 08:01 UTC, Filip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Kitsune 2024-05-14 01:09:38 UTC
SUMMARY
Issue introduced in Plasma 6. When taking a screenshot with Spectacle, you'll be prompted to save it with the name "Screenshot_%Y%M%D_%H%m%S.png". Most likely some incorrect escaping and translation of the symbols occurs, causing things like %Y to not be converted to the actual year but displayed as is.

STEPS TO REPRODUCE
Open Spectacle to take a screenshot.

OBSERVED RESULT
When saving, the suggested file name contains the formula %Y%M%D_%H%m%S in it.

EXPECTED RESULT
That should be converted to numbers representing the current date and time.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.9.0-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Comment 1 Filip 2024-05-14 08:01:30 UTC
I can't reproduce the issue. can you go to "Spectacle -> Configure... -> Image Saving" and check the format in which the file is being saved. I uploaded SS how it looks for me
Comment 2 Filip 2024-05-14 08:01:48 UTC
Created attachment 169470 [details]
filename format
Comment 3 Filip 2024-05-14 08:32:19 UTC
Marked this as duplicate of https://bugs.kde.org/show_bug.cgi?id=484211
You can manually fix the issue for yourself so you don't need to wait for the fix in spectacle

*** This bug has been marked as a duplicate of bug 484211 ***