[Digikam-devel] New icon view

Gilles Caulier caulier.gilles at gmail.com
Thu May 28 18:39:23 BST 2009


Just tested indeep : digiKam do not anymore with D&D...

Gilles

2009/5/28 Gilles Caulier <caulier.gilles at gmail.com>:
> Note : digiKam do not crash when new file is created in collection,
> for ex when i save as from editor.
>
> Gilles
>
> 2009/5/28 Gilles Caulier <caulier.gilles at gmail.com>:
>> Well the common point is : file are moved from collection.
>>
>> For me, it crash after than file is moved to trash, and after than FAM
>> detect change in collection...
>>
>> Gilles
>>
>> 2009/5/28 Andi Clemens <andi.clemens at gmx.net>:
>>> Hmm for me it doesn't crash when I delete / move items to trash.
>>> I can only confirm a crash when doing D&D.
>>>
>>> Andi
>>>
>>> On Thursday 28 May 2009 19:19:57 Gilles Caulier wrote:
>>>> Marcel,
>>>>
>>>> Remember your fix talk by IRC few days ago. Well, it's not fixed...
>>>> I'm back on my host computer to work on week shots collection and it
>>>> crash i another situation but with the same trace. It's reproducible
>>>> all time : Just send an item to trash. That all...
>>>>
>>>> The backtrace is below :
>>>>
>>>> digikam(14319)/digikam (core) Digikam::DImg::load:
>>>> "/mnt/data/photos/Famille/Salagou/PICT2350.MRW"  : RAW file identified
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcraw::loadFromDcraw: LibRaw:
>>>> dcraw emulation:  ("-h", "-H 0", "-w", "-q 0", "-o 1",
>>>> "/mnt/data/photos/Famille/Salagou/PICT2350.MRW")
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading metadata  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading metadata  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading RAW data  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading RAW data  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Scaling colors  pass  0  of  2
>>>> Scaling with darkness 0, saturation 4091, and
>>>> multipliers 1,484375 1,000000 2,046875 1,000000
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Scaling colors  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Pre-interpolating  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Pre-interpolating  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Converting to RGB  pass  0  of  2
>>>> Converting to sRGB colorspace...
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Converting to RGB  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcraw::loadFromDcraw: LibRaw: data
>>>> info: width= 1508  height= 1004  rgbmax= 255
>>>> digikam(14319)/digikam (core) Digikam::DImg::load:
>>>> "/mnt/data/photos/Famille/Salagou/PICT2351.MRW"  : RAW file identified
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcraw::loadFromDcraw: LibRaw:
>>>> dcraw emulation:  ("-h", "-H 0", "-w", "-q 0", "-o 1",
>>>> "/mnt/data/photos/Famille/Salagou/PICT2351.MRW")
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading metadata  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading metadata  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading RAW data  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading RAW data  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Scaling colors  pass  0  of  2
>>>> Scaling with darkness 0, saturation 4091, and
>>>> multipliers 1,484375 1,000000 2,054688 1,000000
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Scaling colors  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Pre-interpolating  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Pre-interpolating  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Converting to RGB  pass  0  of  2
>>>> Converting to sRGB colorspace...
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Converting to RGB  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcraw::loadFromDcraw: LibRaw: data
>>>> info: width= 1508  height= 1004  rgbmax= 255
>>>> digikam(14319)/digikam (core)
>>>> Digikam::CollectionManager::locationForPath: Testing location  1
>>>> "/mnt/data/photos/Famille/Salagou" "/mnt/data/photos"
>>>> digikam(14319)/digikam (core) Digikam::DeleteDialog::accept:
>>>> setShowTrashDeleteDialog  true
>>>> digikam(14319)/digikam (core)
>>>> Digikam::AlbumManager::slotKioFilesAdded:
>>>> "/mnt/data/.Trash-500/files/PICT2351.MRW"
>>>> digikam(14319)/digikam (core) Digikam::DImg::load:
>>>> "/mnt/data/photos/Famille/Salagou/PICT2352.MRW"  : RAW file identified
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcraw::loadFromDcraw: LibRaw:
>>>> dcraw emulation:  ("-h", "-H 0", "-w", "-q 0", "-o 1",
>>>> "/mnt/data/photos/Famille/Salagou/PICT2352.MRW")
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading metadata  pass  0  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading metadata  pass  1  of  2
>>>> digikam(14319)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
>>>> LibRaw progress:  Reading RAW data  pass  0  of  2
>>>> digikam(14319)/digikam (core)
>>>> Digikam::AlbumManager::slotDirWatchDirty: KDirWatch detected change at
>>>> "/mnt/data/photos/Famille/Salagou"
>>>> digikam(14319)/digikam (core) Digikam::AlbumManager::slotKioFileMoved:
>>>> "file:///mnt/data/photos/Famille/Salagou/PICT2351.MRW"
>>>> "trash:/PICT2351.MRW"
>>>> digikam(14319) Digikam::AlbumManager::handleKioNotification:
>>>> KDirNotify detected file change at "/mnt/data/photos/Famille/Salagou"
>>>> digikam(14319)/digikam (core)
>>>> Digikam::AlbumManager::slotKioFilesAdded: "trash:/"
>>>> digikam(14319)/digikam (core)
>>>> Digikam::AlbumManager::slotKioFilesDeleted:
>>>> ("file:///mnt/data/photos/Famille/Salagou/PICT2351.MRW")
>>>> digikam(14319) Digikam::AlbumManager::handleKioNotification:
>>>> KDirNotify detected file change at "/mnt/data/photos/Famille/Salagou"
>>>>
>>>> Program received signal SIGSEGV, Segmentation fault.
>>>> 0xb6e8ddd9 in Digikam::DSharedDataPointer<Digikam::ImageInfoData>::assign
>>>> (this=0xbf911488, o=@0x8)
>>>>     at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/dim
>>>>g/dshareddata.h:142 142             if (o.d != d)
>>>> Missing debug package(s), you should install:
>>>> digikam-debug-0.10.0-6mdv2009.1.i586
>>>> (gdb) bt
>>>> #0  0xb6e8ddd9 in
>>>> Digikam::DSharedDataPointer<Digikam::ImageInfoData>::assign
>>>> (this=0xbf911488, o=@0x8)
>>>>     at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/dim
>>>>g/dshareddata.h:142 #1  0xb6e8ecfc in
>>>> Digikam::DSharedDataPointer<Digikam::ImageInfoData>::operator=
>>>> (this=0xbf911488, o=@0x8)
>>>>     at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/dim
>>>>g/dshareddata.h:121 #2  0xb6e8aaff in ImageInfo (this=0xbf911488, info=@0x8)
>>>> at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/database/image
>>>>info.cpp:173 #3  0x08314540 in Digikam::ImagePreviewBarItem::info (this=0x0)
>>>> at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imageprevie
>>>>wbar.cpp:730 #4  0x081891e1 in
>>>> Digikam::LightTableBar::slotCollectionImageChange (this=0xdd618b8,
>>>> changeset=@0xd5ba6f8)
>>>>     at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/utilities/lighttabl
>>>>e/lighttablebar.cpp:687 #5  0x0818a8ea in
>>>> Digikam::LightTableBar::qt_metacall (this=0xdd618b8,
>>>> _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xea4b2b8)
>>>>     at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/lighttableb
>>>>ar.moc:113 #6  0xb557179a in QMetaCallEvent::placeMetaCall () from
>>>> /usr/lib/libQtCore.so.4 #7  0xb55732b5 in QObject::event () from
>>>> /usr/lib/libQtCore.so.4
>>>> #8  0xb5a90621 in QWidget::event () from /usr/lib/libQtGui.so.4
>>>> #9  0xb5e8d639 in QFrame::event () from /usr/lib/libQtGui.so.4
>>>> #10 0xb5a3799c in QApplicationPrivate::notify_helper () from
>>>> /usr/lib/libQtGui.so.4
>>>> #11 0xb5a401db in QApplication::notify () from /usr/lib/libQtGui.so.4
>>>> #12 0xb6693c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
>>>> #13 0xb556233e in QCoreApplication::notifyInternal () from
>>>> /usr/lib/libQtCore.so.4
>>>> #14 0xb5562ff5 in QCoreApplicationPrivate::sendPostedEvents () from
>>>> /usr/lib/libQtCore.so.4
>>>> #15 0xb55631dc in QCoreApplication::sendPostedEvents () from
>>>> /usr/lib/libQtCore.so.4
>>>> #16 0xb558f5bd in ?? () from /usr/lib/libQtCore.so.4
>>>> #17 0xb48d8cea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
>>>> #18 0xb48dc354 in ?? () from /usr/lib/libglib-2.0.so.0
>>>> #19 0xb48dc4df in g_main_context_iteration () from
>>>> /usr/lib/libglib-2.0.so.0 #20 0xb558f1da in
>>>> QEventDispatcherGlib::processEvents () from
>>>> /usr/lib/libQtCore.so.4
>>>> #21 0xb5adbe6a in ?? () from /usr/lib/libQtGui.so.4
>>>> #22 0xb5560903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
>>>> #23 0xb5560d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
>>>> #24 0xb55632b6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
>>>> #25 0xb5a37804 in QApplication::exec () from /usr/lib/libQtGui.so.4
>>>> #26 0x083815e1 in main (argc=1, argv=0xbf911f44) at
>>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/main.cpp:18
>>>>4 (gdb)
>>>>
>>>> Gilles
>>>>
>>>> 2009/5/24 Gilles Caulier <caulier.gilles at gmail.com>:
>>>> > Marcel,
>>>> >
>>>> > I currently work on my last shot taken at Salagou Lake (near
>>>> > Montpellier - a very very nice place)
>>>> >
>>>> > When i move items by drag and drop using treeview from an album to a
>>>> > sub-album (album is parent of sub-album and i use recursive icon
>>>> > view), digiKam crash like this :
>>>> >
>>>> > Thread 1 (Thread 0xb444eac0 (LWP 22769)):
>>>> > [KCrash Handler]
>>>> > #6  0xb6f38d35 in
>>>> > Digikam::DSharedDataPointer<Digikam::ImageInfoData>::assign
>>>> > (this=0xbf9b8628, o=@0x8)
>>>> >    at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/d
>>>> >img/dshareddata.h:142 #7  0xb6f39c58 in
>>>> > Digikam::DSharedDataPointer<Digikam::ImageInfoData>::operator=
>>>> > (this=0xbf9b8628, o=@0x8)
>>>> >    at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/d
>>>> >img/dshareddata.h:121 #8  0xb6f35a5b in ImageInfo (this=0xbf9b8628,
>>>> > info=@0x8) at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/database/ima
>>>> >geinfo.cpp:173 #9  0x0830e744 in Digikam::ImagePreviewBarItem::info
>>>> > (this=0x0) at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imageprev
>>>> >iewbar.cpp:730 #10 0x0818782d in
>>>> > Digikam::LightTableBar::slotCollectionImageChange (this=0xcb1a700,
>>>> > changeset=@0xde80070)
>>>> >    at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/utilities/lightta
>>>> >ble/lighttablebar.cpp:687 #11 0x08188f36 in
>>>> > Digikam::LightTableBar::qt_metacall (this=0xcb1a700,
>>>> > _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xc5fffe0)
>>>> >    at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/lighttabl
>>>> >ebar.moc:113 #12 0xb561e79a in QMetaCallEvent::placeMetaCall () from
>>>> > /usr/lib/libQtCore.so.4 #13 0xb56202b5 in QObject::event () from
>>>> > /usr/lib/libQtCore.so.4 #14 0xb5b3d621 in QWidget::event () from
>>>> > /usr/lib/libQtGui.so.4
>>>> > #15 0xb5f3a639 in QFrame::event () from /usr/lib/libQtGui.so.4
>>>> > #16 0xb5ae499c in QApplicationPrivate::notify_helper () from
>>>> > /usr/lib/libQtGui.so.4
>>>> > #17 0xb5aed1db in QApplication::notify () from /usr/lib/libQtGui.so.4
>>>> > #18 0xb6740c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
>>>> > #19 0xb560f33e in QCoreApplication::notifyInternal () from
>>>> > /usr/lib/libQtCore.so.4
>>>> > #20 0xb560fff5 in QCoreApplicationPrivate::sendPostedEvents () from
>>>> > /usr/lib/libQtCore.so.4
>>>> > #21 0xb56101dc in QCoreApplication::sendPostedEvents () from
>>>> > /usr/lib/libQtCore.so.4
>>>> > #22 0xb563c5bd in ?? () from /usr/lib/libQtCore.so.4
>>>> > #23 0xb4985cea in g_main_context_dispatch () from
>>>> > /usr/lib/libglib-2.0.so.0 #24 0xb4989354 in ?? () from
>>>> > /usr/lib/libglib-2.0.so.0
>>>> > #25 0xb49894df in g_main_context_iteration () from
>>>> > /usr/lib/libglib-2.0.so.0 #26 0xb563c1da in
>>>> > QEventDispatcherGlib::processEvents () from
>>>> > /usr/lib/libQtCore.so.4
>>>> > #27 0xb5b88e6a in ?? () from /usr/lib/libQtGui.so.4
>>>> > #28 0xb560d903 in QEventLoop::processEvents () from
>>>> > /usr/lib/libQtCore.so.4 #29 0xb560dd51 in QEventLoop::exec () from
>>>> > /usr/lib/libQtCore.so.4 #30 0xb56102b6 in QCoreApplication::exec () from
>>>> > /usr/lib/libQtCore.so.4 #31 0xb5ae4804 in QApplication::exec () from
>>>> > /usr/lib/libQtGui.so.4 #32 0x0837b17d in main (argc=5, argv=0xbf9b90e4)
>>>> > at
>>>> > /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/main.cpp:
>>>> >184
>>>> >
>>>> > I remember a similar report in B.K.O with exactly the same backtrace.
>>>> > This is the first time to see it for me...
>>>> >
>>>> > Gilles
>>>> >
>>>> > 2009/5/24 Andi Clemens <andi.clemens at gmx.net>:
>>>> >> Marcel,
>>>> >>
>>>> >> I can select normal now, and also the first item is selectable (like I
>>>> >> told you in private mail). But it still crashes.
>>>> >> Open some album in recursive mode (or goto tags view).
>>>> >> Now select the first item, then the second, then the first again, the
>>>> >> second etc...
>>>> >> After 10 clicks I get the crash I sent you by mail.
>>>> >>
>>>> >> Andi
>>>> >>
>>>> >> On Sunday 24 May 2009 16:36:23 Marcel Wiesweg wrote:
>>>> >>> > I guess selecting is totally broken. Try to select one image, the
>>>> >>> > shift+click another (in the same row). It seems to select some random
>>>> >>> > items. It is never the range you specify.
>>>> >>>
>>>> >>> I have made a few patches to shift+click selection, I think it works
>>>> >>> now, hope all other forms of selection still work.
>>>> >>> Btw this is a bug in KCategorizedView, take dolphin, switch on
>>>> >>> View->Group Items, shift+click and enjoy block selection mode ;-)
>>>> >>>
>>>> >>> Marcel
>>>> >>
>>>> >> _______________________________________________
>>>> >> Digikam-devel mailing list
>>>> >> Digikam-devel at kde.org
>>>> >> https://mail.kde.org/mailman/listinfo/digikam-devel
>>>>
>>>> _______________________________________________
>>>> Digikam-devel mailing list
>>>> Digikam-devel at kde.org
>>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>>
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> Digikam-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>>
>>
>



More information about the Digikam-devel mailing list