| Summary: | By default screencapture created with no extension | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | gudvinr+kde |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | john.kde, kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 24.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
gudvinr+kde
2025-06-28 16:42:30 UTC
Confirmed here too. Operating System: openSUSE Tumbleweed 20250701 KDE Plasma Version: 6.4.1 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.4-1-default (64-bit) Graphics Platform: Wayland > default recording format is nothing (i.e. combobox with empty string).
Do you see this if you click the "Defaults" button in the config window? What about if you remove ~/.config/spectaclerc and restart spectacle?
For me, doing either of those things (pressing Defaults in the config window, or removing spectaclerc) fixes the problem. My spectaclerc before doing that (i.e. from older versions of Plasma), which demonstrates the no extension problem was: [Annotations] ellipseStrokeColor=255,0,0 [General] launchAction=DoNotTakeScreenshot [GuiConfig] captureMode=0 includeShadow=false [ImageSave] lastImageSaveAsLocation=file:///home/john/Pictures/Screenshots/Discover accessibility icon.png lastImageSaveLocation=file:///home/john/Pictures/Screenshots/Discover accessibility icon.png translatedScreenshotsFolder=Screenshots [VideoSave] preferredVideoFormat=0 translatedScreencastsFolder=Screencasts In my config file, I have "videoContainerFormat=mp4" under the "[GuiConfig]" group. For testing purposes, if you add that to your config file and re-open Spectacle, does that fix the issue? Nope, that makes no difference. I noticed that if I delete the preferredVideoFormat=0 line it works OK (puts a .webm extension on the filename). ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! (In reply to Nate Graham from comment #2) > Do you see this if you click the "Defaults" button in the config window? > What about if you remove ~/.config/spectaclerc and restart spectacle? Nope and nope. > preferredVideoFormat=0 Same for me. I am pretty sure what happens is someone at some point added check like "if (param == "") || (param == nullptr) { format = defaultFormat; }" and then there's something like "switch format { case webm:; case mp4:; case default:; }" and 0 isn't handled by anything. BUT someone at some point also added writing "default" option to config file on save and default option for format was zero value of integer (which is 0) instead of "nothing". |