[Bug 175898] New: selecting in the import dialog is extremly slow

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] New: selecting in the import dialog is extremly slow

Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898

           Summary: selecting in the import dialog is extremly slow
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-beta6 (using 4.1.80 (KDE 4.1.80 (KDE 4.2 Beta1)),
Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26-tuxonice

when selecting images in the Import dialoge (using usb camera) it seems that
during the selection process too much metadata is retrieved from the files or
other slow operations lead to ~2seconds delay per picture and make the mouse
hang when the selection rectange should be smooth

this happens especially when selecting from the right side first (starting with
the newer images )


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
http://bugs.kde.org/show_bug.cgi?id=175898


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Camera GUI




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |0.10.0-beta6




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2008-12-05 14:43:25 ---
SVN commit 892924 by cgilles:

call right slot with File/new action
BUG: 175898


 M  +3 -3      cameraiconview.h  
 M  +2 -3      cameraui.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=892924


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2008-12-05 14:49:10 ---
Oups sorry, wrong commit (:=))). re-open

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Bugzilla from mikmach@wp.pl
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #3 from Mikolaj Machowski <mikmach wp pl>  2008-12-08 17:05:47 ---
Works instantly for me in 0.10b7svn


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Simon Bühler
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #4 from Simon Bühler <simon aktionspotential de>  2008-12-08 17:16:36 ---
seems to be related to bug #175894,

i get those same error messages during selecting


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Simon Bühler
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #5 from Simon Bühler <simon aktionspotential de>  2008-12-08 17:18:08 ---
sorry,

forgot to paste the specific lines:
---
error reading file:///media/disk-1/dcim/106_pana//p1060828.jpg
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#cameraModel"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#focalLength"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#mimeType"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#cameraManufacturer"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#orientation"
loading writer for key  "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#flashUsed"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#35mmEquivalent"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#contentCreated"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#whiteBalance"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#height"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#url"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#width"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#size"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#depth"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#meteringMode"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#sourceModified"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#parentUrl"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#exposureBias"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#exposureTime"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#name"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#fileExtension"
error reading file:///media/disk-1/dcim/106_pana//p1060828.jpg
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#cameraModel"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#focalLength"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#mimeType"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#cameraManufacturer"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#orientation"
loading writer for key  "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#flashUsed"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#35mmEquivalent"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#contentCreated"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#whiteBalance"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#height"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#url"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#width"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#size"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#depth"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#meteringMode"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#sourceModified"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#parentUrl"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#exposureBias"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#exposureTime"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#name"
loading writer for key
"http://freedesktop.org/standards/xesam/1.0/core#fileExtension"
... and so on


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Bugzilla from mikmach@wp.pl
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #6 from Mikolaj Machowski <mikmach wp pl>  2008-12-08 17:32:22 ---
@Simon: looks like Nepomuk problem - it tries to to instantly index new files.
IMO if possible digiKam should disable Nepomuks interference - there is no need
to index files if they are on camera or removable medias if not asked.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2008-12-08 18:45:15 ---
Simon,

Sound like a broken KDE installation or something like that. this message come
from DBUS, not digiKam

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2008-12-16 16:32:59 ---
Mik,

We don't use yet Nepomuk in digiKam... Sound like a part of KDE4 used in
digiKam play with Nepomuk directly... Perhaps Solid... Marcel ?

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2008-12-16 16:33:41 ---
*** Bug 175894 has been marked as a duplicate of this bug. ***


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Marcel Wiesweg
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #10 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-16 18:22:19 ---
Maybe the messages are generated because we use KMetaFileInfo?
(cameraitempropertiestab)
XESAM is definitely related with nepomuk/strigi and not directly used by
digikam.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Bugzilla from mikmach@wp.pl
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #11 from Mikolaj Machowski <mikmach wp pl>  2008-12-16 19:00:47 ---
I recently noticed those messages on my computer: but it doesn't slow down
operations.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Simon Bühler
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #12 from Simon Bühler <simon aktionspotential de>  2008-12-16 21:13:28 ---
i think that the slowdown comes from
"error reading file:///media/disk-1/dcim/106_pana//p1060828.jpg"

Mikolaj: you have this errormessage too ? if not, thisshould be the culprit, i
would also say that my kde install (trunk) and quite sane and dbus is working
fine so far.

--- start guesswork ---

i think there must be two different access methods for
* downloading files to the harddrive and (works)
* getting data when thumbnails on usb are doubleclicked (as this fails with the
same error message - error reading file)
and when selecting the second approach is used

--- end guesswork ---


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Marcel Wiesweg
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #13 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-16 21:45:59 ---
No both for normal downloading and opening the image the same method is used.
You can easily test from the command line if the relevant file is accessible or
not.
I dont know where the error string "error reading" comes from, it is not used
anywhere in digikam.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Gilles Caulier-4
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #14 from Gilles Caulier <caulier gilles gmail com>  2008-12-16 21:49:40 ---
"error reading" ... libkexiv2 or Exiv2 ?

Gilles


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Simon Bühler
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898


Simon Bühler simon aktionspotential de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #15 from Simon Bühler <simon aktionspotential de>  2008-12-16 22:12:24 ---
it disappeared!

i just tried it again after a finished kde-svn recompile and now i don't even
get those messages ("loading writer for key ...") and selection just works
smooth! yeah!

also the "error reading" went away -
i don't have the whole kde tree laying around here, but a grep should find the
"error reading" message, might be libkexiv2 (which was also updated during the
rebuild)

but, it is now replaced by:

QFSFileEngine::open: No file name specified
digikam(1966)/digikam (core) Digikam::UMSCamera::downloadItem: Failed to open
dest file for writing:  ""

when doubleclicking on a thumbnail, but i'll open a new bug for this and a
other issue i found


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Simon Bühler
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898


Simon Bühler simon aktionspotential de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |




--- Comment #16 from Simon Bühler <simon aktionspotential de>  2008-12-16 22:30:23 ---
bummer.

its back!
i had the "Properties" tab collapsed, but when this tab is open, the old
behaviour is there again/still


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 175898] selecting in the import dialog is extremly slow

Marcel Wiesweg
In reply to this post by Simon Bühler
http://bugs.kde.org/show_bug.cgi?id=175898





--- Comment #17 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-16 22:45:17 ---
I can confirm the
Digikam::UMSCamera::downloadItem: Failed to open dest file for writing:  ""
error message, number one.

Number two, if you have your speed problem only with the properties tab open,
then it is indeed something in there. It can be either downloading exif info
from the camera, opening DMetadata or KMetaFileInfo on the file.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12