[Bug 234546] New: preview fails for some images

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] New: preview fails for some images

Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

           Summary: preview fails for some images
           Product: digikam
           Version: 1.2.0
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.2.0 (using KDE 4.4.2)
OS:                Linux
Installed from:    openSUSE RPMs

For some image files the preview fails with the message "Cannot display preview
for [file]". The very same images load fine in other apps (eg Gwenview).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546





--- Comment #1 from Zen <cerebralpandemics googlemail com>  2010-04-16 17:39:45 ---
Created an attachment (id=42824)
 --> (http://bugs.kde.org/attachment.cgi?id=42824)
sample image

Sample image which displays fine in Gwenview but fails to load in DigiKam.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

Johannes Wienke-3
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546





--- Comment #2 from Johannes Wienke <languitar semipol de>  2010-04-16 17:43:34 ---
Please enable all debugging for digikam in kdedebugdialog, run digikam in the
console, try to load such an image and paste the console output here.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

Bugzilla from cerebralpandemics@googlemail.com
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546





--- Comment #3 from Zen <cerebralpandemics googlemail com>  2010-04-16 17:51:21 ---
By uploading that sample file here I just realized that it is indeed a png
wrongly named .jpg - renaming it to .png solves the issue. Maybe you could look
into loading such files anyway or even offering to rename them? Otherwise
consider this solved.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

Gilles Caulier-4
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Preview




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2011-12-12 20:29:03 ---
Zen,

This file still valid with 2.x series ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

Gilles Caulier-4
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

--- Comment #5 from Gilles Caulier <[hidden email]> ---
This file still valid using last 2.6.0 release ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

mikeg
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Mike Gutzschhahn <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from Mike Gutzschhahn <[hidden email]> ---
Same problem here with Digikam 2.7 under OpenSuse 12.1 but only with TIFF files
without a single exception (+8000 images).

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 234546] preview fails for some images

Gilles Caulier-4
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.2.0                       |2.7.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] preview fails for some images

Gilles Caulier-4
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #7 from Gilles Caulier <[hidden email]> ---
Reproducible with digiKam 4.2.0. Image cannot be loaded in digiKam...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] Preview fails for some images

Gilles Caulier-4
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|preview fails for some      |Preview fails for some
                   |images                      |images

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] Preview fails for some images

bugzilla_noreply
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #8 from Maik Qualmann <[hidden email]> ---
Created attachment 97166
  --> https://bugs.kde.org/attachment.cgi?id=97166&action=edit
imageLoader.patch

When image loading fails with a default loader and the query was not been
canceled, we use the QImage loader. The QImage loader now uses only the file
content for the format detection.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] Preview fails for some images [patch]

bugzilla_noreply
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Preview fails for some      |Preview fails for some
                   |images                      |images [patch]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] Preview fails for some images [patch]

bugzilla_noreply
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #97166|0                           |1
        is obsolete|                            |

--- Comment #9 from Maik Qualmann <[hidden email]> ---
Created attachment 97167
  --> https://bugs.kde.org/attachment.cgi?id=97167&action=edit
imageLoader2.patch

Fix compile warning.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] Preview fails for some images [patch]

bugzilla_noreply
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

--- Comment #10 from [hidden email] ---
Patch is fine for me. Tested with sample provided on this bug entry

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 234546] Preview fails for some images [patch]

bugzilla_noreply
In reply to this post by Bugzilla from cerebralpandemics@googlemail.com
https://bugs.kde.org/show_bug.cgi?id=234546

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |5.0.0
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/77876ae91081a88fb6b7664
                   |                            |03f05a03ca519173b
         Resolution|---                         |FIXED

--- Comment #11 from Maik Qualmann <[hidden email]> ---
Git commit 77876ae91081a88fb6b766403f05a03ca519173b by Maik Qualmann.
Committed on 13/02/2016 at 15:38.
Pushed by mqualmann into branch 'master'.

try QImage loader when default image loader fails
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +14   -13   libs/dimg/dimg.cpp
M  +5    -1    libs/dimg/loaders/qimageloader.cpp

http://commits.kde.org/digikam/77876ae91081a88fb6b766403f05a03ca519173b

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel