| Summary: | GIF images ending in .jpg cannot be loaded | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | Nicole O'Connor <nrfoconnor> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | minor | CC: | greg, myriam, nate, walch.martin |
| Priority: | NOR | Keywords: | usability |
| Version First Reported In: | 4.11.4 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| URL: | http://i.imgur.com/4KUlQ.jpg | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=441698 | ||
| Latest Commit: | https://invent.kde.org/graphics/gwenview/commit/6a79391a9ab68bec839897369c665ee2e3afe7e5 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Nicole O'Connor
2013-12-22 23:59:11 UTC
Hm, there is actually a commit that should make it work, see http://commits.kde.org/gwenview/8bb1d8a60cd98a223e1b062a0be09bae9056a15a This issue is still occurring on Gwenview 15.08.2, KDE Frameworks 5.15.0, Qt 5.4.2. Greg's right, I can still reproduce using git master. A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/60 Git commit 6a79391a9ab68bec839897369c665ee2e3afe7e5 by Arjen Hiemstra. Committed on 29/04/2021 at 09:29. Pushed by ahiemstra into branch 'master'. Prefer mime type from content over file name when loading QMimeDatabase::mimeTypeForFileNameAndData() will prefer using the filename for mime type determination. This allow it to be fooled when the filename is something different than the contents. To avoid this, reverse the logic and first try to determine the mimetype from the file's contents and only use filename if that fails. M +7 -4 lib/document/loadingdocumentimpl.cpp https://invent.kde.org/graphics/gwenview/commit/6a79391a9ab68bec839897369c665ee2e3afe7e5 This fix for this caused Bug 441698, which was a more serious issue, so I have reverted it. Re-opening this. Hopefully we will find a fix that allows both issues to be fixed so that we don't have to trade one issue for another. Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)? I can confirm that this bug is no longer happening on Gwenview 25.08.0. ๐๐งน โ ๏ธ 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. |