| Summary: | saves images in the wrong format, contrary to claims. maybe regression | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Shual Kravot <as.afgre.enberg> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | kde, kde |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.3 | ||
| Target Milestone: | --- | ||
| Platform: | EndeavourOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
> spectacle -nbfo screenshot.png
I could not reproduce with these steps
Can you run:
QT_LOGGING_RULES=*.debug spectacle -nbfo screenshot.png
and share output
🐛🧹 ⚠️ 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! 🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |
SUMMARY Spectacle saves files as HEIC despite file extension and settings, via command line or via GUI. STEPS TO REPRODUCE Via GUI: + take a screenshot -> click "save as" -> in the dialog choose filetype ("PNG Image") --- or --- via CLI: + $ spectacle -nbfo screenshot.png OBSERVED RESULT + image can't be open by gwebview, + Python's Pillow ImageGrab crashs (PIL.UnidentifiedImageError: cannot identify image file '/tmp/tmpxe7zk.png') + executing "file" reveals the image is anyway HEIC: $ file screenshot.png: ---> ISO Media, HEIF Image HEVC Main or Main Still Picture Profile EXPECTED RESULT 1) save the file in the format specified by the extension / or by the "save as" dialog or 2) force the user choose image format upon save. SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.0 Graphics Platform: Wayland P.s. 1) Some web results said it was fixed in 2018, but it isn’t. I’ve updated my system several times in the past year, and this bug still exists. 2) it doesn't crash by itself, but it leads to crash in other programs and image viewers can't open file, user must do extra step of converting - which requires going to command line, installing converter, etc.)