Bug 172867 - Dolphin and Konqueror (Dolphib Part) crash when folder is Cut
Summary: Dolphin and Konqueror (Dolphib Part) crash when folder is Cut
Status: RESOLVED DUPLICATE of bug 172760
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 15:28 UTC by Tomas Van Verrewegen
Modified: 2008-10-15 19:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Van Verrewegen 2008-10-15 15:28:28 UTC
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 ---
Comment 1 Tomas Van Verrewegen 2008-10-15 17:06:28 UTC
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
Comment 2 Tomas Van Verrewegen 2008-10-15 17:09:37 UTC
Additional (2):
This only happens in List and Column view, not in Icon view.
Comment 3 Simon St James 2008-10-15 18:54:11 UTC

*** This bug has been marked as a duplicate of bug 172760 ***
Comment 4 Frank Reininghaus 2008-10-15 19:42:41 UTC
I just want to add that the crash in comment 1 is most likely a duplicate of bug 170547.