Version: 1.1 (using 4.1.2 (KDE 4.1.2), Kubuntu packages) Compiler: cc OS: Linux (x86_64) release 2.6.27-7-generic Dolphin and Konqueror (Dolphib Part) crash when a folder that contains a .desktop referencing a non-existent icon is Cut (Edit/Cut). This doesn't happen when the folder is Copy-ed. I sent the .desktop file to the Trash an then everything worked again. I tried replicating this behaviour afterward by restoring the .desktop file from the Trash, but no crashes occurred, because by now the icon of the folder had been restored to the default icon. When I hit refresh (to make dolphin reload the non-existent icon) Dolphin crashed again with following output on the console: --- cut --- cd /home/tomas/PrQPainter::begin: Cannot paint on a null pixmap ASSERT: "!icon.isNull()" in file /build/buildd/kde4libs-4.1.2/kio/kio/kdirmodel.cpp, line 616 --- cut --- I started Dolphin again and did a Cut operation on the same folder: --- cut --- QPainter::begin: Cannot paint on a null pixmap ASSERT: "!icon.isNull()" in file /build/buildd/kde4libs-4.1.2/kio/kio/kdirmodel.cpp, line 616 --- cut ---
Additional: Bug scope seems to be wider than I suspected. When I turn on "Preview" in Dolphin, dolphin also crashes with output: --- cut --- ASSERT: "!icon.isNull()" in file /build/buildd/kde4libs-4.1.2/kio/kio/kdirmodel.cpp, line 616 --- cut --- The contents of this folder is: tomas@sokopok:~$ ls -la /home/tomas/Projects/Locatiegoed/Style total 113 drwxr-xr-x 2 tomas tomas 488 2008-10-15 16:56 . drwxr-xr-x 7 tomas tomas 296 2008-10-15 16:14 .. -rw-r--r-- 1 tomas tomas 9376 2008-10-15 16:27 1.html -rw-r--r-- 1 tomas tomas 350 2008-10-15 16:07 box-180-bottom-black.png -rw-r--r-- 1 tomas tomas 383 2008-10-15 16:03 box-180-bottom-red.png -rw-r--r-- 1 tomas tomas 239 2008-10-15 16:06 box-180-middle-black.png -rw-r--r-- 1 tomas tomas 247 2008-10-15 16:04 box-180-middle-red.png -rw-r--r-- 1 tomas tomas 309 2008-10-15 16:05 box-180-top-black.png -rw-r--r-- 1 tomas tomas 344 2008-10-15 16:03 box-180-top-red.png -rw-r--r-- 1 tomas tomas 18527 2008-10-15 16:07 box-180.xcf -rw-r--r-- 1 tomas tomas 22210 2008-10-15 15:55 box-red.png -rw-r--r-- 1 tomas tomas 3033 2008-10-15 15:50 Box.svg -rw-r--r-- 1 tomas tomas 2662 2008-10-15 16:18 logo.png -rw-r--r-- 1 tomas tomas 2822 2008-10-15 16:19 logo-white.png -rw-r--r-- 1 tomas tomas 19865 2008-08-24 11:16 title.png
Additional (2): This only happens in List and Column view, not in Icon view.
*** This bug has been marked as a duplicate of bug 172760 ***
I just want to add that the crash in comment 1 is most likely a duplicate of bug 170547.