Categories UI problem: Right-click menu

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
dietmar
Posts: 114
Joined: Fri Oct 25, 2013 4:55 pm

Categories UI problem: Right-click menu

Post by dietmar »

Pierre,

the categories hierarchy allows to define nested categories, e.g.

Persons -> Family -> Me
Persons -> Family -> MyBrother

Within the Categories Data Pane one can assign either a sub-category or a top-category or both to each image. This is correct as there might be some images which would only be part of Persons -> Family, but neither show Me nor MyBrother.

Likewise the Categories Filter allows to either select the sub-category or the top-category. (It would be nice to automatically include sub-categories when selecting a top category, by the way - see my separate wishlist entry.)

However, there's a problem with the categories in an image's right-click menu, though. Here you can only select the lowest sub-category. You cannot select a top category if it has sub-categories.

Dietmar
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories UI problem: Right-click menu

Post by xnview »

dietmar wrote: Likewise the Categories Filter allows to either select the sub-category or the top-category. (It would be nice to automatically include sub-categories when selecting a top category, by the way - see my separate wishlist entry.)
So a setting like 'select children keywords'?
However, there's a problem with the categories in an image's right-click menu, though. Here you can only select the lowest sub-category. You cannot select a top category if it has sub-categories.
How that??
Pierre.
dietmar
Posts: 114
Joined: Fri Oct 25, 2013 4:55 pm

Re: Categories UI problem: Right-click menu

Post by dietmar »

xnview wrote:So a setting like 'select children keywords'?
Yes, "select all children keywords".
xnview wrote:
dietmar wrote:However, there's a problem with the categories in an image's right-click menu, though. Here you can only select the lowest sub-category. You cannot select a top category if it has sub-categories.
How that??
Please try ;-)
Create a category "TEST-TOP". Create a sub-category "TEST-CHILD".
Using the Categories pane, you can
  • select just TEST-CHILD
    select just TEST-TOP
    select both TEST-TOP and TEST-CHILD
Now right-click on any image and look at the Categories submenu. You cannot select TEST-TOP as it only opens the submenu containing TEST-CHILD.

Dietmar
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories UI problem: Right-click menu

Post by xnview »

dietmar wrote: Now right-click on any image and look at the Categories submenu. You cannot select TEST-TOP as it only opens the submenu containing TEST-CHILD.
Ok, i understand now. I don't know how to do here. Select menu item open the submenu, so how to select it as category??
Pierre.
dietmar
Posts: 114
Joined: Fri Oct 25, 2013 4:55 pm

Re: Categories UI problem: Right-click menu

Post by dietmar »

xnview wrote:Ok, i understand now. I don't know how to do here. Select menu item open the submenu, so how to select it as category??
This is why I called it a UI problem, not a bug :wink:

First question is: Do you want a top category to be selected at all? That answer must be Yes, because one could always add sub-categories later on. So probably there will be images having the parent category checked already. And there must be a way to deselect or reselect the parent.

Next question is: Why not show in the menu which categories have been selected already? You do use checkboxes in other submenus. Using such would indicate in the menu which categories are selected (checked).

Still leaves the problem how to check/select a parent category. Since clicking always opens the submenu, there must be some option in the submenu to select the parent (and not a child). So maybe the submenu could read
  • (Checkmark) Parent Name
    Separator
    (Checkmark) Child 1
    (Checkmark) Child 2
    and so on
But don't spend too much time thinking on this. There are more important things to do :wink:

Dietmar

BTW: For my categories project I automatically added a larger number of categories to the database - and made MP crash :shock: My fault: I had the ID field set to NULL instead of an empty string. ID is of no use anyway, or is it?
dietmar
Posts: 114
Joined: Fri Oct 25, 2013 4:55 pm

Re: Categories UI problem: Right-click menu

Post by dietmar »

Pierre,

there's another minor UI problem with categories: The Categories data pane is defunct (greyed out) when no image is selected.

While it makes sense to disallow choosing categories without an active image, it is confusing that you cannot even scroll to see which categories exist or that you cannot create a new category without activating an image first.

Dietmar
CameronD
Posts: 311
Joined: Wed Aug 01, 2007 1:28 pm
Location: Australia

Re: Categories UI problem: Right-click menu

Post by CameronD »

dietmar wrote:... The Categories data pane is defunct (greyed out) when no image is selected....
yes, I have found that annoying as well. There are times I want to look a the list without having to select an image.
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories UI problem: Right-click menu

Post by xnview »

dietmar wrote: But don't spend too much time thinking on this. There are more important things to do :wink:
:) ok, i'll check
BTW: For my categories project I automatically added a larger number of categories to the database - and made MP crash :shock: My fault: I had the ID field set to NULL instead of an empty string. ID is of no use anyway, or is it?
Currently ID is not used
Pierre.
dietmar
Posts: 114
Joined: Fri Oct 25, 2013 4:55 pm

Re: Categories UI problem: Right-click menu

Post by dietmar »

Pierre,

there's another minor UI problem with categories:

In the Categories Data Pane when you add a new sub-category it is sorted at N (New Category), with the New Category "name" highlighted to be renamed. That's ok, but after you renamed the new category it stays at the N position. It should go to the correct sort order position.

Dietmar
Post Reply