[Digikam-devel] New icon view

Gilles Caulier caulier.gilles at gmail.com
Sun May 24 16:17:24 BST 2009


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/dimg/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/dimg/dshareddata.h:121
#8  0xb6f35a5b in ImageInfo (this=0xbf9b8628, info=@0x8) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/database/imageinfo.cpp:173
#9  0x0830e744 in Digikam::ImagePreviewBarItem::info (this=0x0) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imagepreviewbar.cpp:730
#10 0x0818782d in Digikam::LightTableBar::slotCollectionImageChange
(this=0xcb1a700, changeset=@0xde80070)
    at /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/utilities/lighttable/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/lighttablebar.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
>



More information about the Digikam-devel mailing list