[KPhotoAlbum] Main window search bar doesn't allow selecting all matches

Robert Krawitz rlk at alum.mit.edu
Mon Jan 13 01:15:37 GMT 2020


On Sun, 12 Jan 2020 23:37:23 +0100, Johannes Zarl-Zierl wrote:
> Hi Robert,
>
> Am Sonntag, 12. Jänner 2020, 16:48:28 CET schrieb Robert Krawitz:
>> I'd like to be able to select all keywords (say) by match.  For
>> example, I want to select all women's (vs. men's) basketball games by
>> typing "women" into the search bar.  At present, it appears that all
>> that this will do is narrow the scope of what's displayed to make it
>> easier to find a particular game (rather than having to look through
>> all keywords), but I can't actually select by pattern.  Is there
>> something I've missed here?
>
> Do you mean a multi-selection when browsing by tag?
>
> I've briefly played with the idea at some point, but it wasn't a high priority back then. I guess I wasn't sure whether hard-coding the multi-selection as AND or OR combination would be self-explaining, or something along those lines.
> Revisiting this decision, I would now think that hard-coding an OR combination as you suggested would be a natural fit. I think this shouldn't be too hard to implement...
>
> The second part "selecting everything at once" would probably need some consideration, but I think that should not be rocket-science either.

So there's another very confusing issue here (and I've tested
origin/master, so it's not my changes).

Let's say I have keywords

Sports
  MIT-Babson
  MIT-WPI

or some such.

If I select (either via top level or the search dialog) for
MIT-Babson, I get just the MIT-Babson shots.  However, if I first
search for Sports, and then within *that* search for MIT-Babson, I get
all of the Sports shots, due to the implicit or.

That behavior is confusing at best.  It's not at all clear to me why
doing a sub-selection within a restricted context will yield a larger
set than just selecting the sub-selection by itself.

The problem is worse if I use an "All Selections" keyword in
combination with another keyword; then I get the union rather than the
intersection.
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
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