Bug 349975 - Import window freezes when selecting multiple items and scrolling
Summary: Import window freezes when selecting multiple items and scrolling
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-IconView (show other bugs)
Version: 4.11.0
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 20:48 UTC by Gregor B. Rosenauer
Modified: 2020-08-12 12:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor B. Rosenauer 2015-07-06 20:48:59 UTC
I have a special performance problem / huge lag when importing from my SD card reader (UHS-I, USB 3.0, card used in a Canon 6D but transfer is over USB cardreader).

Reproducably, when selecting some 10+ items and then trying to scroll down (using mouse wheel or scrollbar), the import window hangs for 10-20s, then continues to work normally.
Comment 1 caulier.gilles 2015-07-06 20:57:50 UTC
Did you enable some options in Setup/Camera/Behavior dialog page ?

I use SD card too with plenty of files : 32Gb SDCard used with a Sony A77. No time latency problem here...

Gilles Caulier
Comment 2 Maik Qualmann 2015-07-08 21:00:54 UTC
Git commit e0ee8677de827f1aee2a945080e986ddd4b4342a by Maik Qualmann.
Committed on 08/07/2015 at 20:55.
Pushed by mqualmann into branch 'master'.

fixes performance problem if many items are selected in the import view
FIXED-IN: 4.12.0

M  +2    -1    NEWS
M  +13   -10   utilities/importui/main/importui.cpp

http://commits.kde.org/digikam/e0ee8677de827f1aee2a945080e986ddd4b4342a
Comment 3 Maik Qualmann 2015-07-08 21:17:19 UTC
The problem was the isSelected(KURL) function. Number of selected items * this function was very time consuming. The selection of 1000 new items has needed more than 20 seconds now no one second.

Maik
Comment 4 caulier.gilles 2015-07-09 10:27:31 UTC
Git commit e6fb2ce38278bd6261dc3bd2353cc0217539f5f1 by Gilles Caulier.
Committed on 09/07/2015 at 10:26.
Pushed by cgilles into branch 'frameworks'.

backport commit #e0ee8677de827f1aee2a945080e986ddd4b4342a from git/master to frameworks branch

M  +13   -10   utilities/importui/main/importui.cpp

http://commits.kde.org/digikam/e6fb2ce38278bd6261dc3bd2353cc0217539f5f1
Comment 5 Mohamed 2015-07-13 11:30:43 UTC
Git commit a4ee6c886b649a486f497e641b27284324d4ce92 by Mohamed Anwer, on behalf of Gilles Caulier.
Committed on 12/07/2015 at 20:47.
Pushed by mohamedanwer into branch 'gsoc15-kio-drop'.

backport commit #e0ee8677de827f1aee2a945080e986ddd4b4342a from git/master to frameworks branch

M  +13   -10   utilities/importui/main/importui.cpp

http://commits.kde.org/digikam/a4ee6c886b649a486f497e641b27284324d4ce92
Comment 6 Gregor B. Rosenauer 2015-07-13 12:34:49 UTC
awesome, thanks for the fix, will try in 4.12 then!