Minor bug in tagged items list

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
aubrey97
Posts: 56
Joined: 22 Jun 2013 11:27

Minor bug in tagged items list

Post 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).

admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor bug in tagged items list

Post 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".

nerdweed
Posts: 653
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Minor bug in tagged items list

Post 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.

admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor bug in tagged items list

Post 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.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Minor bug in tagged items list

Post 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?

admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor bug in tagged items list

Post 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. :)

nerdweed
Posts: 653
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Minor bug in tagged items list

Post by nerdweed »

This was the next that I thought and that makes much more sense than the two pass stuff. :appl:

admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor bug in tagged items list

Post 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...

nerdweed
Posts: 653
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Minor bug in tagged items list

Post by nerdweed »

That's great. Create a temporary item and delete it from outside XY to create an orphan and fix the capitalisation.

Post Reply