[KPhotoAlbum] Strange behaviour of tagging dialog in hierarchical view

Robert Krawitz rlk at alum.mit.edu
Sat Mar 30 15:19:54 GMT 2013


On Sat, 30 Mar 2013 15:58:57 +0100, Martin Jost wrote:
> I just feel confused by the behaviour of KPA 4.4.
> Here is what I see:
>
> I have a hierarchy of "places". It looks like this:
> Germany
>   Baden-Württemberg [Federal State in Germany]
>     Freudenstadt [town]
>       Empfingen [small town near Freudenstadt]
>       Kniebis [a village near Freudenstadt]
>       Zollernstraße [street in Freudenstadt]
>      ...
>   ...
>
> Now this isn't exactly precise design. Surely "Empfingen" is no part of
> "Freudentstadt". And "Zollernstraße" and "Empfingen" are two different
> levels of granularity altogether.
>
> But what I want to say is: All the sub-categories of "Freudenstadt" are
> in or near Freudendstadt, so I don't need to remember the exact detail.
>
> Now here is my current problem:
> I had the KPA tagging dialog open and switched to tree view.
> The current foto is untagged. I click "Freudenstadt" - and KPA not only
> switches this on, but also all sub-categories below Freudenstadt
> (Empfingen, Kniebis, Zollernstraße, ...)
>
> Problem 1:
> This doesn't happen every time, but only sometimes. What is the "rule"
> behind this ?
>
> Problem 2:
> I consider this plain wrong. If the photo belongs to "Freudenstadt", it
> doesn't belong to Empfingen and Kniebis and ...
> (If the hierarchy would be
> Europe
>   Germany
>   France
>   Spain
>   ...
> Surely a photo taken somewhere in Europe isn't taken in Germany, France,
> Spain, ... all at the same time.)
>
> Worse: If I would now add "Norway" below "Europe", KPA surely wouldn't
> add "Norway" to all photos tagged "Europe" previously - only the newly
> ones would get tagged this way.
>
> What is the reason/motivation behind this behaviour ?

I believe this is a bug that was fixed post-4.4, in commits
585656c14b60e280fad05bc9dde19771df807c5b (Feb. 19) and later slightly
differently in 17e43680e78eb090947c6cfc9bf310486dffa12c (Mar. 6).
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

MIT VI-3 1987 - Congrats MIT Engineers 5 straight men's hoops tourney
Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list