Page 1 of 1
Minor bug in tagged items list
Posted: 31 Oct 2013 17:45
by aubrey97
The tagged items list editor shows little hazard signs next to items which do not exist on the machine.
The tagged items list is however case sensitive, but the hazard sign detector is not.
For example if the real item is at
X:\family\Memorabilia\19550700 18.jpg
and the tagged list is edited to give an item at
X:\Family\Memorabilia\19550700 18.jpg
with a capital F in family -- there is no hazard symbol (ie item shows as found in the list editor), but the tag does not show up.
This creates confusion and should work the same way (in any event it should not be case sensitive probably anyway in Windows).
Re: Minor bug in tagged items list
Posted: 31 Oct 2013 18:40
by admin
I confirm what you report. But changing this is not easy.
1) The database is case sensitive for performance reasons. With huge folders and a huge tags database this make a big difference.
2) The hazard icon everywhere in XY means "File not found". So the usage here is consistent with the usage elsewhere in XY.
A solution could be to design and use a new icon for "Matching file not found".
Re: Minor bug in tagged items list
Posted: 02 Nov 2013 11:31
by nerdweed
Can this be done two pass.
Scenario 1: All files are searched. All files Matched
Working: As it is currently
Scenario 2: All files are searched. Not all files are matched (due to case sensitivity)
Working: The case sensitive files are matched. For the non matched files, it does a case insensitive search.
Scenario 3: Tag specific search. All files matched
Working: As it is currently
Scenario 4: Tag specific search. Not all files are matched (due to case sensitivity)
Working: The case sensitive files are matched. For the items that are tagged with the searched tag and not-found, it does a case insensitive search.
So, incase of Scenarios 1 and 3, there isn't any performance loss.
There would be a performance loss for Scenarios 2 and 4, depending upon the number of items that didn't match due to case sensitivity. But this performance loss would be acceptable, rather than the items not being returned at all and making the tags database meaningless for those item.
Re: Minor bug in tagged items list
Posted: 02 Nov 2013 12:45
by admin
Well, tags are not on my list currently. And this is just a very minor cosmetic thing, there is no need to modify a perfectly working machine.
Re: Minor bug in tagged items list
Posted: 02 Nov 2013 14:15
by armsys
admin wrote:Well, tags are not on my list currently. And this is just a very minor cosmetic thing, there is no need to modify a perfectly working machine.
Don,
Can Configuration | Tags | Options | Database Check... adjust the cases?
Can the RegEx be used to find tagged items?
Re: Minor bug in tagged items list
Posted: 02 Nov 2013 18:39
by admin
adjust the cases... Yes, I can do that. It was actually built in long ago, but I never found the time to connect it.

Re: Minor bug in tagged items list
Posted: 03 Nov 2013 11:59
by nerdweed
This was the next that I thought and that makes much more sense than the two pass stuff.

Re: Minor bug in tagged items list
Posted: 03 Nov 2013 16:37
by admin
FYI, once there is only one orphan found and removed in the tagged items list, you get correction of capitalization as well. It's only when there are no orphans, then there is currently no way to get correction of capitalization. I'll change that some day...
Re: Minor bug in tagged items list
Posted: 03 Nov 2013 17:47
by nerdweed
That's great. Create a temporary item and delete it from outside XY to create an orphan and fix the capitalisation.