[KPhotoAlbum] [patch] Excluding Files and Directories

Baptiste MATHUS ml at batmat.net
Fri Sep 29 13:14:46 BST 2006


2006/9/27, Ashley J Gittins <agittins at purple.dropbear.id.au>:
> > Though I agree this might solve some people problems, I really doubt that
> > the majority of KPA users would know how to create a regexp (even with my
> > editor), which exclude files in certain directories and with certain
> > extension.
>
> Agreed - to be honest, I knew it was a bit of a stretch expecting the
> average user to grok regexps, and seeing the editor would probably just
> make it look harder again :-)

Yeah, I agree, but there is one solution which is quite commonly implemented.
>
> Getting the feature started and under discussion was motivation enough
> though to push it out for comment anyway.
>
> > Any suggestion for Ashley, for improvements?
>
> I have one :-)
> How about doing something very similar to how Kate's "Find" dialog works?
> Default to using a wildcard match so that users can enter "*.NEF" or
> "backup*", keeping things simple. Then under that a checkbox labelled
> "regular expression" and the button to launch the regexpEditor. The button
> will remain disabled as long as the checkbox is clear.

Yes ! The idea of using optionally regexp is the choice, I guess. For
those who know it, this option is present in the Search/File dialog of
Eclipse. I must obviously admit this is already a developer-oriented
app, so not using regexp by default is great, but permitting to do it
when needed is even better. Then checking the box would allow more
advanced users to also find their interests in the features.

See you :).

Baptiste
-- 
Baptiste <Batmat> Mathus
BMathus at Batmat point net - http://batmat.net
---------
Si chacun de nous a une idée et que nous les partageons, nous
repartirons tous les deux avec deux idées... C'est ça le Libre.




More information about the Kphotoalbum mailing list