Summary: | Proper input constraints in New Album dialog | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Martin Ringehahn <martin> |
Component: | Albums-MainView | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.8.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.10.0 | |
Sentry Crash Report: |
Description
Martin Ringehahn
2006-11-12 14:14:27 UTC
I'm having this same problem with 0.9.0-rc1 on Linux Gentoo installed from Gentoo packages. I'd like to see the tagging consistant. Suggestions: Have the right tag panel auto-update when images are select with the images selections. It should keep a tally of how many selected images have each tag (t=0 - no check mark; t<s - grey check mark; s=n - regular check mark; where s=number selected, and t=tally for each tag) when checking the tags: * if the tag is already selected for all selected images, or if the tag is not selected for any of the selected images, it should just toggle the tag on all the images. * if some of the selected images are selected, it should toggle to all images having the tag, then no images having the tag, then back to the original images having the tag. > There should either be some constraints on those input fields - that i cannot enter eg forward slashes in the first time - or this error has to bring me back my original dialog with all my input i had already done.
Rather old bug, but still present in 0.10.
I also would suggest to just filter out the forward slashes or add some kind of validation so that the dialog can still be used and is not closed before this error message appears.
Andi
Why not to use QRegExp for that : http://doc.trolltech.com/4.4/qregexp.html like i use here : http://lxr.kde.org/source/extragear/graphics/kipi-plugins/metadataedit/exifcaption.cpp#102 Gilles Good idea, I will take a look at that... Andi SVN commit 891982 by aclemens: use a validator to restrict new album name. BUG:137233 M +2 -1 NEWS M +6 -0 digikam/albumpropsedit.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=891982 SVN commit 891983 by aclemens: backport commit #891982 from trunk CCBUG:137233 M +23 -17 albumpropsedit.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=891983 |