https://bugs.kde.org/show_bug.cgi?id=469545
Bug ID: 469545 Summary: Haruna screenshots doesn't respect chosen format, are always compressed JPEGs Classification: Applications Product: Haruna Version: 0.10.3 Platform: Archlinux OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: generic Assignee: georgefb...@gmail.com Reporter: thehamb...@gmail.com Target Milestone: --- Created attachment 158807 --> https://bugs.kde.org/attachment.cgi?id=158807&action=edit Haruna log that demonstrates the casing mismatch problem. SUMMARY Title; screenshots made in Haruna (either the menu or shortcut) will always output to a chosen screenshots directory in a compressed JPG, rather than respecting the screenshot setting. STEPS TO REPRODUCE 1. In Haruna's settings, change the screenshot format to either WebP or PNG 2. Open a video file, and create a screenshot using Haruna's menu or shortcut. 3. Observe the output in the screenshot location always being a JPG. OBSERVED RESULT No matter the setting, Haruna always creates JPG screenshots. EXPECTED RESULT Haruna should be able to create screenshots in the file type as determined by the Video | Screenshots -> Format setting. SOFTWARE/OS VERSIONS Linux: Arch Linux, Kernel 6.3.1 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105 Qt Version: 5.15.9 ADDITIONAL INFORMATION Attached is a log detailing the problem: it seems to be caused by casing mismatch (UPPERCASE as what Haruna sets vs. lowercase as what libmpv expects), forcing mpv to fallback to jpg screenshots. The problem is solved when manually modifying the `ScreenshotFormat` setting in `~/.config/haruna.conf` to be an all-lowercase `png` or `webp`, but this will be reset whenever the format is changed in the settings window. Also affects current git release. -- You are receiving this mail because: You are watching all bug changes.