[Bug 274947] New: Auto-rotate/flip image does not work at import

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

[Bug 274947] New: Auto-rotate/flip image does not work at import

Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947

           Summary: Auto-rotate/flip image does not work at import
           Product: digikam
           Version: 1.9.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Import
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.9.0 (using KDE 4.6.2)
OS:                Linux

Autorotate of images in portrait format does not work / breaks thumbnail.

Reproducible: Always

Steps to Reproduce:
1. take a few new portrait/landscape pictures
2. plugin your sd-card and select "Download Photos with digikam" in KDE
3. in "Importer Window" make shure "Settings: Auto-rotate/flip image" is
selected
4. select your images and hit "Download Selected"
5. close "Importer Window" after download is finished
6. look at your pictures in album view

In my exampel I have:
  - img_1122.jpg - a landscape picture
  - img_1123.jpg - a portrait picture
  - img_1124.jpg - a portrait picture

Actual Results:  
  - img_1122.jpg:
      - album view: orientation in thumbnail ok
      - Image Editor orientation ok

  - img_1123.jpg:
      - album view: thumbnail broken (orientation korrekt but only 10 pixel
wide; the leftmost 10 pixels; height is ok)
      - Image Editor: requires one "Rotate Left" to be correct (looks like no
auto-rotation took place)

  - img_1124.jpg:
      - album view: thumbnail ok (orientation and content)
      - Image Editor: requires one "Rotate Left" to be correct (looks like no
auto-rotation took place)

Expected Results:  
  - img_1122.jpg: thumbnail and Image Editor should display landscape format
  - img_1123.jpg: thumbnail and Image Editor should display portrait format
  - img_1124.jpg: thumbnail and Image Editor should display portrait format

--- Additional Information:

Clicking "Download Selected" in "Import Window" prints the following debug-info
to STDOUT:
-------------------- 8< --------------------
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand:
Downloading:  "IMG_1122.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1122.JPG") )
digikam(5534)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand: Exif
autorotate:  "IMG_1122.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1122.JPG") )
digikam(5534)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  1
digikam(5534)/digikam (core) Digikam::exifTransform: ExifRotate: no rotation to
perform:  "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1122.JPG"
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand: Set
metadata from:  "IMG_1122.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1122.JPG") )
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand:
Metadata template title :  "_REMOVE_TEMPLATE_"
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::KExiv2Priv::saveToFile: File
Extension:  "jpg"  is supported for writing mode
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file '
.digikam-camera-tmp1-5534IMG_1122.JPG ' written to file.
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand:
Downloading:  "IMG_1123.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1123.JPG") )
digikam(5534)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand: Exif
autorotate:  "IMG_1123.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1123.JPG") )
digikam(5534)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  8
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand: Set
metadata from:  "IMG_1123.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1123.JPG") )
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand:
Metadata template title :  "_REMOVE_TEMPLATE_"
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::KExiv2Priv::saveToFile: File
Extension:  "jpg"  is supported for writing mode
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file '
.digikam-camera-tmp1-5534IMG_1123.JPG ' written to file.
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand:
Downloading:  "IMG_1124.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1124.JPG") )
digikam(5534)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand: Exif
autorotate:  "IMG_1124.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1124.JPG") )
digikam(5534)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  8
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand: Set
metadata from:  "IMG_1124.JPG"  using ( KUrl("file:///home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/.digikam-camera-tmp1-5534IMG_1124.JPG") )
digikam(5534)/digikam (core) Digikam::CameraController::executeCommand:
Metadata template title :  "_REMOVE_TEMPLATE_"
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::KExiv2Priv::saveToFile: File
Extension:  "jpg"  is supported for writing mode
digikam(5534)/KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file '
.digikam-camera-tmp1-5534IMG_1124.JPG ' written to file.
digikam(5534)/digikam (core) Digikam::DImg::load: "/home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/img_1122.jpg"  : JPEG file identified
digikam(5534)/digikam (core) Digikam::ImageScanner::addImage: Adding new item
"/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming/img_1122.jpg"
digikam(5534)/digikam (core) Digikam::ImageScanner::scanFromIdenticalFile:
Recognized "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming/img_1122.jpg" as identical to item 75203
digikam(5534)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 75351
"/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming/img_1122.jpg"
digikam(5534)/digikam (core) Digikam::DImg::load: "/home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/img_1123.jpg"  : JPEG file identified
digikam(5534)/digikam (core) Digikam::ImageScanner::addImage: Adding new item
"/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming/img_1123.jpg"
digikam(5534)/digikam (core) Digikam::ImageScanner::scanFromIdenticalFile:
Recognized "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming/img_1123.jpg" as identical to item 75265
digikam(5534)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming"
digikam(5534)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming"
digikam(5534)/digikam (core) Digikam::DImg::load: "/home/px79/daten/Bilder
(private)/Fotos unsortiert/Incoming/img_1124.jpg"  : JPEG file identified
digikam(5534)/digikam (core) Digikam::ImageScanner::addImage: Adding new item
"/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming/img_1124.jpg"
digikam(5534)/digikam (core) Digikam::ImageScanner::scanFromIdenticalFile:
Recognized "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming/img_1124.jpg" as identical to item 75264
digikam(5534)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 75352
"/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming/img_1123.jpg"
digikam(5534)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 75353
"/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming/img_1124.jpg"
digikam(5534)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/px79/daten/Bilder (private)/Fotos
unsortiert/Incoming"
digikam(5534)/kdeui (KNotification) KNotificationManager::notificationClosed:
1528
digikam(5534)/kio (Scheduler) KIO::SchedulerPrivate::doJob:
KIO::SimpleJob(0xa65a598)
digikam(5534)/kio (Slave) KIO::Slave::createSlave: createSlave "digikamdates"
for
KUrl("digikamdates:?databaseType=QSQLITE&databaseName=%2Fhome%2Fpx79%2Fdaten%2FBilder%20%28private%29%2FDigiKam%20Foto%20DB%2Fcurrent%2Fdigikam4.db&connectOptions=&hostName=&userName=&password=")
digikam(5534)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote:
Listening on  "local:/tmp/ksocket-px79/digikamKC5534.slave-socket"
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOConnection)
KIO::SocketConnectionBackend::socketReadyRead:
KIO::SocketConnectionBackend(0xbe7deb0) Jumbo packet of 319648 bytes
digikam(5534)/kio (KIOJob) KIO::TransferJob::slotFinished:
KUrl("digikamdates:?databaseType=QSQLITE&databaseName=%2Fhome%2Fpx79%2Fdaten%2FBilder%20%28private%29%2FDigiKam%20Foto%20DB%2Fcurrent%2Fdigikam4.db&connectOptions=&hostName=&userName=&password=")
digikam(5534)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished:
KIO::SpecialJob(0xa65a598) KIO::Slave(0xad852e0)
-------------------- >8 --------------------

IMHO: The text "Digikam::exifTransform: ExifRotate:" should show up three times
instead of only one time.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #1 from Peter Albrecht <px79 crazymonkeys de>  2011-06-04 23:44:50 ---
Created an attachment (id=60633)
 --> (http://bugs.kde.org/attachment.cgi?id=60633)
The debug-output from "additional information" without the disturbing newlines

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #2 from Peter Albrecht <px79 crazymonkeys de>  2011-06-04 23:54:36 ---
Even worse:
If I only import the two portrait pictures "img_1123.jpg" and "img_1124.jpg", I
end up with:

  - img_1123.jpg:
     - album view: thumbnail ok (orientation and content)
     - Image Editor: picture content _broken_: reduced to the leftmost 91
pixels (but orientation ok ;)

  - img_1124.jpg:
     - album view: thumbnail ok (orientation and content)
     - Image Editor: requires one "Rotate Left" to be correct (looks like no
auto-rotation took place; but content is ok)

The album I importet those pictures to, lists (dolphin) a file called
".digikam-exifrotate-5917.jpg" with 0 Byte length and timestamp of the last
import.

Debug-info from STDOUT will be attached.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #3 from Peter Albrecht <px79 crazymonkeys de>  2011-06-04 23:57:33 ---
Created an attachment (id=60634)
 --> (http://bugs.kde.org/attachment.cgi?id=60634)
Debug-Output of the case, described in Comment #2

Starts with the click on "Download Selected" in "Import" Window.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #4 from Peter Albrecht <px79 crazymonkeys de>  2011-06-05 00:11:45 ---
Behaviour, described in Comment #2, is not always completely reproduceable:

 - dataloss (reduction of picture width) happens not always. Seems you have to
restart digikam. Restarting the Importer or simply deleting
".digikam-exifrotate-5917.jpg" and the imported images did not trigger the
failure. Once the running digikam application did an import, another import
won't loose data.

 - the file ".digikam-exifrotate-5917.jpg" is always written.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #5 from Peter Albrecht <px79 crazymonkeys de>  2011-06-05 00:14:23 ---
Created an attachment (id=60635)
 --> (http://bugs.kde.org/attachment.cgi?id=60635)
Debug output for the case of comment #4.

This is the output of a second import-run during the live-cycle of a digikam
process. No data was lost in this run.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #6 from Peter Albrecht <px79 crazymonkeys de>  2011-06-05 00:21:12 ---
Difference between #5 and #3:
"Digikam::exifTransform: ExifRotate" is only called once in a digikam process.

The first import-run calls "Digikam::exifTransform: ExifRotate", which kills
the content of the first picture (if not exif-orientation == 1). All following
pictures of this import and all following imports don't "suffer" under this
function call.

--
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 274947] Auto-rotate/flip image does not work at import

Gilles Caulier-4
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Import                      |Camera GUI




--
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 274947] Auto-rotate/flip image does not work at import

Gilles Caulier-4
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2011-06-06 10:30:25 ---
Thanks Peter for your complete hack on this file.

Can you test with 2.0.0-beta6 (or git master source code) to see if problem
still reproducible. 1.x version is not maintained now, 2.0.0 is on the way for
this summer.

Thanks in advance

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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #8 from Peter Albrecht <px79 crazymonkeys de>  2011-06-06 22:03:06 ---
I've tried to install digikam 2.0.0_beta6 on my gentoo machine from
"kde"-overlay. But this would require me to switch whole KDE to > 4.6.2, which
is currently marked unstable in gentoo portage.
This is something I just don't want to do with my productive system.

I'm upgrating a kubuntu installation on my other machine at the moment. But
this will take few hours.
Maybe I can reproduce the bug there with 1.9.0 and see it fixed with 2.0.0. ;)

More info tomorrow...

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #9 from Peter Albrecht <px79 crazymonkeys de>  2011-06-08 22:27:05 ---
Sequel to #8: (I know I should test 2.0.0_beta6)
I've installed digikam 1.9.0 on my kubuntu machine (kde 4.6.2) and could not
reproduce the error there. Importing the same two images (img_1123.jpg and
img_1124.jpg) did work flawless.
(That's great for kubuntu users, but does not help me fix the bug.)

To narrow the error down, I compared both of digikam's "Components Information"
lists and found the following differences:

gentoo (fails)      |  kubuntu (works)
--------------------+---------------------
LibExiv2: 0.19      |  LibExiv2: 0.21.1
LibJPEG: 80         |  LibJPEG: 62
LibGphoto2: 2.4.10  |  LibGphoto2: 2.4.10.1

There are differences in LibClapack, LibLCMS and LibPNG versions. But I think
they don't matter.

The difference in LibJPEG reminds me of last years Bug 228483
(https://bugs.kde.org/show_bug.cgi?id=228483). Maybe it's not yet fixed for
"Digikam::exifTransform: ExifRotate".

But as you say: I should test digikam 2.0.0_beta6. But I have not yet an idea
how, without putting my productive system at risk of instability. (Maybe I'll
setup a virtual machine or something else...)

=> You may close this bug. If I'll find new valuable information, I'll reopen
it. Thanks so far for your great work!

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #10 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:31:02 ---
Good news: I've managed to install digikam-2.0.0_beta6 on my gentoo test
system.
Bad news: Autorotate still does not work on Import from SD-card via
USB-Adapter.

Details about the gentoo test system:
  - media-gfx/digikam-2.0.0_beta6
  - kde-base/kdelibs-4.6.80-r1
  - media-libs/jpeg-8b

I took a new testpicture and imported it at:
  - my gentoo test system
  - another machine running kubuntu (see comment #9)

Data from both imports follow:

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #11 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:38:22 ---
Created an attachment (id=61143)
 --> (http://bugs.kde.org/attachment.cgi?id=61143)
The original test picture (copied from sd card via dolphin)

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #12 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:39:15 ---
Created an attachment (id=61144)
 --> (http://bugs.kde.org/attachment.cgi?id=61144)
The test picture after importing it with digikam on my gentoo test system.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #13 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:40:09 ---
Created an attachment (id=61145)
 --> (http://bugs.kde.org/attachment.cgi?id=61145)
The test picture after importing it with digikam on my kubuntu system.

Everything ok with this file.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #14 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:41:39 ---
Created an attachment (id=61146)
 --> (http://bugs.kde.org/attachment.cgi?id=61146)
The console output of the import process on the gentoo test system.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #15 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:42:09 ---
Created an attachment (id=61147)
 --> (http://bugs.kde.org/attachment.cgi?id=61147)
The console output of the import process on the kubuntu system.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #16 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:43:22 ---
Created an attachment (id=61148)
 --> (http://bugs.kde.org/attachment.cgi?id=61148)
Digikam component information on the gentoo test system.

From "Help" -> "Components Information"

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #17 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 16:43:56 ---
Created an attachment (id=61149)
 --> (http://bugs.kde.org/attachment.cgi?id=61149)
Digikam component information on the kubuntu system.

--
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 274947] Auto-rotate/flip image does not work at import

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=274947





--- Comment #18 from Peter Albrecht <px79 crazymonkeys de>  2011-06-19 17:01:14 ---
Summary of the previous files:


++ Most important component differences:
gentoo:  LibJPEG: 80, LibKDE: 4.6.80 (4.7 Beta1)
kubuntu: LibJPEG: 62, LibKDE: 4.6.2 (4.6.2)


++ Important differences in the import logs:
gentoo_import.log is missing the following lines:
----------------- 8< -------------------
> digikam (core) Digikam::exifTransform: ExifRotate: set Orientation tag to normal:  "/home/px79/Pictures/.digikam-camera-tmp1-1769IMG_1350.JPG"
> KEXIV2 KExiv2Iface::KExiv2::setImageOrientation: Exif.Image.Orientation tag set to:  1
> KEXIV2 KExiv2Iface::KExiv2::KExiv2Priv::saveToFile: File Extension:  "jpg"  is supported for writing mode
> KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file ' .digikam-exifrotate-1769.jpg ' written to file.
----------------- >8 -------------------

The last line with "KEXIV2 KExiv2Iface::KExiv2::getImageOrientation:
Orientation => Exif.Image.Orientation =>"
gentoo: 8
kubuntu: 1


++ Further steps
I'm going to try to do some debugging with gdb/Eclipse. But I can't say whether
I'll find time for this in the next hours.

--
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
12