Page 1 of 1

Browser - Categories, Category Sets - add Delete unused, rearrange controls

Posted: Sun Mar 23, 2025 1:47 pm
by user0
XnViewMP 1.8.6 64bit
Windows11 (24H2), display resolution 3840x2160, win scaling 150%


Browser - Categories, Category Sets pane

Suggestion
browser_categories_sets_add_delete_unused_rearange_controls.png
browser_categories_sets_add_delete_unused_rearange_controls.png (26.76 KiB) Viewed 337 times
  • Categories
    • add 'Delete unused (empty) Categories..'
      command to delete cats that have not assigned to any image (have no records in TagsTree table), eg

      Code: Select all

      DELETE FROM Tags 
      WHERE NOT EXISTS (
          SELECT 1 FROM TagsTree WHERE TagsTree.TagID = Tags.TagID
      );
    • rename 'Clear' to 'Delete'
      imo:
      - Clear - to clear temporary data, eg output list or terminal with cls
      - Remove - to remove data from the list w/o deleting data itself, eg add/remove files to/from the list
      - Delete - to delete original data, eg delete file/metadata or Category from list (as you may not have file with this cat anymore, so it will not be reimported)
  • Category Sets
    - move Layout controls to the bottom
    - move 'Manager..' button to the right and shorten label to '...'






Example
  • DxO
    other_apps_keywords_DxO.png
    other_apps_keywords_DxO.png (70.66 KiB) Viewed 347 times





Related

Re: Browser - Categories, Category Sets - add Delete unused, rearrange controls

Posted: Sun Mar 23, 2025 2:31 pm
by xnview
See issue for current status and some details.

Re: Browser - Categories, Category Sets - add Delete unused, rearrange controls

Posted: Thu Mar 27, 2025 8:53 am
by xnview
This problem is supposed to be fixed in XnView MP 1.8.7. Please check and confirm the bug fix here.

Re: Browser - Categories, Category Sets - add Delete unused, rearrange controls

Posted: Thu Mar 27, 2025 9:02 am
by user0
done in 187