Bug 257883 - dolphin freezes when cutting many files in icon view
Summary: dolphin freezes when cutting many files in icon view
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 16:24 UTC by e3k
Modified: 2011-01-02 10:53 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description e3k 2010-11-25 16:24:09 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

dolphin freezes when cutting many files (500-1000) in icon view. did try with empty files, images and mp3 files. its the same.

when cutting a few files with sum of 5gb its not an issue.

pressing ctrl+c is not an issue.

Reproducible: Always

Steps to Reproduce:
go to a folder with more than 1000 files.
switch to icon view
ctrl+a
ctrl+x


Actual Results:  
the dolphin window freezes for seconds or minutes depending on the amount of selected files. if too many files are selected you can think its a crash.

Expected Results:  
no freeze
Comment 1 Peter Penz 2010-11-25 16:55:12 UTC
Thanks for the report. I cannot reproduce the issue locally here and my current guess is that it might be a graphics driver issue, because the "grey icon effect" is applied to each cut icon. Does the situation change if you start Dolphin like this:
dolphin -graphicssystem raster
?
Comment 2 e3k 2010-11-25 17:03:57 UTC
no i have still the same issue with dolphin -graphicssystem raster
Comment 3 Christoph Feck 2010-11-25 22:27:21 UTC
> the "grey icon effect" is applied to each cut icon

The effect should only be applied on visible items, otherwise I would consider this a bug.

Regarding the delay, could Klipper be an issue? Try quitting Klipper and check if you can reproduce.
Comment 4 e3k 2010-11-26 07:28:18 UTC
did quit klipper. still an issue.
Comment 5 e3k 2010-11-26 09:59:10 UTC
did read this in /dolphin/src/dolphinview.cpp:


void DolphinView::cutSelectedItems()
{
    QMimeData* mimeData = selectionMimeData();
    KonqMimeData::addIsCutSelection(mimeData, true);
    QApplication::clipboard()->setMimeData(mimeData);
}

void DolphinView::copySelectedItems()
{
    QMimeData* mimeData = selectionMimeData();
    QApplication::clipboard()->setMimeData(mimeData);
}


the difference between copy and paste was the KonqMimeData::addIsCutSelection(mimeData, true); line.

so i tried the same in Konqueror and quess what happened.

same issue in kde-base/konqueror-4.4.5
Comment 6 e3k 2010-11-26 10:20:01 UTC
did open a konqueror bug:
https://bugs.kde.org/show_bug.cgi?id=257950
Comment 7 e3k 2011-01-02 10:53:37 UTC
after upgrading to 4.5.4 the issue is gone.