Bug 196329 - Renaming album causes problems (until re-opening)
Summary: Renaming album causes problems (until re-opening)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 0.10.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-13 14:34 UTC by Dominic Lyons
Modified: 2017-07-25 19:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Lyons 2009-06-13 14:34:36 UTC
Version:           0.10.0 (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

After I renamed an album digiKam wasn't able to find the images inside. The correct (new) name was displayed in the folderview on the left and the thumbnails still were shown. But I were not able to open, copy or move the files.

I tried to actualize the view (F5) but the only effect was that the thumbnails weren't shown anymore. I also tried this on the superordinate album but this didn't help, too.

Besides: I used the digiKam-internal function for renaming. I didn't use Dolphin or Konqueror to do that while digiKam was running.

After closing and re-openig digiKam everything is ok.
Comment 1 caulier.gilles 2009-06-13 16:28:11 UTC
It still valid using digiKam 1.0.0-beta1 ?

Gilles Caulier
Comment 2 Dominic Lyons 2009-06-13 17:03:27 UTC
I'll try that some time. I guess there's no PPA or other binary for Kubuntu Jaunty or Karmic?

Well, probably it shouldn't be too complicated to make a build if I've got time.
Comment 3 Dominic Lyons 2009-06-14 14:53:06 UTC
Now I've built your beta 1 tarball on Jaunty. cmake, building and installing gave no errors but digiKam doesn't show any thumbnails at all.
Probably a library is too old (shouldn't cmake check this), maybe something with the new Qt List View.

As I can't built it on my Karmic testing notebook (cmake can't find Phonon although everything is installed) I can't check if this issue is still valid for 1.0 beta 1 now.
Comment 4 Andi Clemens 2009-06-14 15:05:26 UTC
I really don't know what's wrong with Kubuntu. This is the only distribution that constantly has those bugreports.
What are those guys doing wrong?
Every Kubuntu user experienced the problem that no images are shown... why only Kubuntu?
I read in various threads that Kubuntu seems to be the "worst KDE distro" out there, but why?

Is it really so hard to package KDE software? Or is it because they constantly backport stuff from trunk into the stable branches (which is really annoying and often the reason why we get such bugreports).

I mean trunk is trunk, stable is stable, why always mix it?

Sorry this is not against you, Dominic, but it is really frustrating to read this over and over again.

Dominic,
if you built digikam on your own, can you please look at the console messages on startup? Do you get errors from the kioslave 'digikamalbums', or 'digikamsearch'? If so, try restarting your system (or at least logout / login from KDE).

Andi
Comment 5 Dominic Lyons 2009-06-14 15:33:23 UTC
(In reply to comment #4)
> Every Kubuntu user experienced the problem that no images are shown... why only
> Kubuntu?
I'm quite sure it only affects users of KDE 4.3b1. There seems to be a API/ABI breake somewhere...
But shouldn't rebuilding resolve this?

> I read in various threads that Kubuntu seems to be the "worst KDE distro" out
> there, but why?
I don't think that this is something that has do be discusses in this bug report.
But to give a short answer: There are a few good reasons why I use Kubuntu. Since KDE 4 the packages are more or less unpatched so they are nearly the same as upstream and updates after the release are very conservative - as long as you don't use PPAs.

> Sorry this is not against you, Dominic, but it is really frustrating to read
> this over and over again.
Yes, I can understand that.

> Dominic,
> if you built digikam on your own, can you please look at the console messages
> on startup? Do you get errors from the kioslave 'digikamalbums', or
> 'digikamsearch'? If so, try restarting your system (or at least logout / login
> from KDE).
Ok, I'll try that.
Comment 6 Dominic Lyons 2009-06-14 16:00:01 UTC
The console doesn't say something useful but ~/.xsession.errors:

[...]
kdeinit4: preparing to launch /usr/lib/kde4/kio_digikamdates.so
Could not open library '/usr/lib/kde4/kio_digikamdates.so'.
Cannot load library /usr/lib/kde4/kio_digikamdates.so: (/usr/lib/libdigikamcore.so.1: undefined symbol: _ZN6Marble12MarbleWidget16addPlaceMarkD
ataERK7QStringS3_)
kdeinit4: preparing to launch /usr/lib/kde4/kio_digikamalbums.so
Could not open library '/usr/lib/kde4/kio_digikamalbums.so'.
Cannot load library /usr/lib/kde4/kio_digikamalbums.so: (/usr/lib/libdigikamcore.so.1: undefined symbol: _ZN6Marble12MarbleWidget16addPlaceMark
DataERK7QStringS3_)
QDir::exists: Empty or null file name
kdeinit4: preparing to launch /usr/lib/kde4/kio_file.so
[...]
kdeinit4: preparing to launch /usr/lib/kde4/kio_digikamalbums.so
Could not open library '/usr/lib/kde4/kio_digikamalbums.so'.
Cannot load library /usr/lib/kde4/kio_digikamalbums.so: (/usr/lib/libdigikamcore.so.1: undefined symbol: _ZN6Marble12MarbleWidget16addPlaceMark
DataERK7QStringS3_)

Maybe it's realted to http://www.digikam.org/drupal/node/458#comment-18602
Comment 7 Dominic Lyons 2009-06-14 16:34:00 UTC
Andi, as you said I've restarted: Now thumbnails are displayed. Shared library problem?

To come back to the main problem: It seems to be solved in 1.0b1, although there are small glitches (some thumbnails are not shown immediately after renaming the folder but they appear after moving the mose over or wating some time).

Is this now RESOLVED? Or has this behavior to be packported to 0.10.x?
Comment 8 caulier.gilles 2009-06-14 17:53:56 UTC
It resolved. There is no 0.10.0 branch to maintain.

Gilles Caulier
Comment 9 caulier.gilles 2017-07-25 19:15:07 UTC
This problem is relevant of digiKam KIO Slaves and all of these have been dropped in favor of a multi-threaded interface to query the database.