[KPhotoAlbum] Category weirdness

Andreas Neustifter andreas.neustifter at gmail.com
Tue Jan 10 20:50:10 GMT 2012


Hi Joe!

On 6 January 2012 08:59, Joe <josephj at main.nc.us> wrote:
> In a previous thread, it was suggested  to create a "Done" category which
> only contains "done" and "*None*".
>
> I'm trying to do that in KPA 4.1.1.
>
> The first time I tried to create it, I setup the category and clicked Apply
> then OK.
> I ended up with two new categories, both called "Done"!  One of them had the
> "done" keyword in it and the other did not.
> I went ahead and tagged 70 of 78 photos in my latest folder.
>
> I tried deleting both of the Done categories and defining it again skipping
> the Apply.  It looked like it worked, but ...
> 1) When I did an Edit->Find, both of the Done categories reappeared.
> 2) When I went to re-tag the same photos  as "done", they showed that they
> were all still tagged (even though I thought deleting the category should
> have undone that.)

First of all I guess you should keep recent backup copies of your
index.xml file, thats always a good idea.

I have not heard of this problem, but from my experience with KPA do
the following:
- close and reopen KPA
- delete all the freshly create categories
- close and reopen KPA
- create category (by clicking "OK" once to be sure, maybe this
duplication is a bug)
- close and reopen KPA
- use the new category

> I am thinking of compiling a more recent KPA anyway.  Have any fixes since
> 4.1.1 addressed a problem like this?

Since I have not heard of this I guess a new version is not the
solution. Nevertheless compiling KPA should be a good idea since there
are a lot of bugfixes in the latest git.

> If it is a current bug (assuming I compile KPA), what do I need to do to
> provide sufficient details to aid in debugging this?

I can reproduce the bug and made an entry in the bugtracker at
https://bugs.kde.org/show_bug.cgi?id=291211.

> I had some difficulty getting KPA to display just the 10 photos which are
> not "done" (which is the main point of this exercise).  The problem is that
> I am unclear on how to do a new search within a search without losing the
> current search.

First of all set your "Auto Display Limit" to "Never". You can find
that under "Settings -> Configuring KPhotoalbum -> Thumbnail View".

Then do a search. E.g. search for a specific person. When you do that
you shound get another Browser window. From there you can either "Show
Thumbnails" which gives you the pictures for the current search or you
can refine your search to be more specific. Remember that hitting
"Back" in the toolbar always gets you back to the latest screen. (E.g.
when you hit "Show Thumbnails" and then "Back" you are in the browser
again and you can refine your search from there.)

> I  just had the 78 photos displayed.  I did an Edit->Find and selected
> "*none*" for Done.  It came back with the count 25,001 of 25,001 like it
> didn't fine any with "done" set (and there are 70).  It also lost the
> previous search because it didn't stay at 78.  What am I missing?

I must admit that I have never, ever used the "Search/Find" dialog.
Try selecting your newly created category in the Browser, then you
should see the "None" and "Done" options. Select "Done" and you get
another Browser window for refining your search. (A problem with that
aproach is that it does not allow for "OR" searches, e.g. searching
for pictures with Person A or Person B, this can only be done in the
"Search" window.)

> This is the kind of behavior I would expect from a damaged database.  I did
> all of this while I was logged on in one session.  Toward the end I quit KPA
> and restarted it, but it didn't seem to make any difference.  I saved the
> database several times during the whole thing, but I'm not exactly sure when
> in the sequence of events.

Please try the steps detailed above and give us feedback I this works
as expected.

Andi



More information about the Kphotoalbum mailing list