Categories: Select & deselect children

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Categories: Select & deselect children

Postby m.Th. » Tue Feb 14, 2017 10:32 am

From my little experience (we have a suite of programs in which we have used from many years extensively the multi-select tree of keywords for searching/filtering) the best thing for the users is:

When one clicks on an item toggle the selection of the said item ONLY.

Provide as a right-click menu option the followings:

- Select all children
- Deselect all children
- Toggle all children

The above are quite powerful and usually can be done with the same piece of code (same iterator) - the only change needed is, of course, the actual action which is oCrtNode.Checked = True - or - oCrtNode.Checked = False - or - oCrtNode.Checked = not oCrtNode.Checked .

Something like this.

This is a distinctive feature from Lr which can be a very powerful one, mitigating the need of freezing the tree structure by saving in the file/sidecar the entire path of keywords - for example : Europe | France | Paris. With the feature above we can be much more flexible and faster.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.84 64bit & XnView 2.00 x64 on Win7 x64 -
User avatar
m.Th.
XnThusiast
 
Posts: 1283
Joined: Wed Aug 16, 2006 6:31 am

Re: Categories: Select & deselect children

Postby xnview » Fri Feb 17, 2017 1:33 pm

below 'new category'/'delete'/'rename'?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26806
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Categories: Select & deselect children

Postby vertigo » Fri Feb 17, 2017 4:41 pm

Just realized I missed the link to this in the other thread. I do like the sound of this. Never used software that worked this way, but it sounds like a great way of handling it.
vertigo
 
Posts: 106
Joined: Wed Feb 15, 2017 3:49 pm

Re: Categories: Select & deselect children

Postby helmut » Fri Feb 17, 2017 4:50 pm

vertigo wrote:... Never used software that worked this way, but it sounds like a great way of handling it.
:)

xnview wrote:below 'new category'/'delete'/'rename'?
Right.

In total the context menu when selecting a category which has children should look like this:

-------------------------
New
-------------------------
Delete
Rename
-------------------------
Select all children
Toggle all children
Deselect all children
-------------------------

Notes:
- I've renamed "New category" to "New". (It should be clear to the user that he/she deals with categories).
- I've changed the order of the menu items Delete and Rename. Reason is that Windows often uses this order.
- I've moved "Deselect all children" to the bottom because this is the function that "deletes" the selection.

Does everyone agree?
User avatar
helmut
Moderator
 
Posts: 7888
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Categories: Select & deselect children

Postby vertigo » Fri Feb 17, 2017 5:08 pm

I wouldn't call them "children." Normal users might not understand the parent/child context. Maybe Select/Toggle/Clear All Sub-Categories?

Agree with the rest, and good call on the order of Delete/Rename.
vertigo
 
Posts: 106
Joined: Wed Feb 15, 2017 3:49 pm

Re: Categories: Select & deselect children

Postby helmut » Fri Feb 17, 2017 5:13 pm

vertigo wrote:I wouldn't call them "children." Normal users might not understand the parent/child context. Maybe Select/Toggle/Clear All Sub-Categories?
Right, that wording is much better. Except "Clear" - here I'd stick to "Deselect".

vertigo wrote:Agree with the rest, and good call on the order of Delete/Rename.
:)

(I still wonder whether a key combination should force selecting/deselecting including children could be found, e.g. Ctrl+Alt+Mouse click).
User avatar
helmut
Moderator
 
Posts: 7888
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Categories: Select & deselect children

Postby vertigo » Fri Feb 17, 2017 5:22 pm

I figured I'd throw 'Clear' in just to try it out. :)

As for key combinations, I don't see why not. There are many, many different possible combinations, especially for just the keys themselves, so it should be possible to do just about anything with them as long as the user sets them up (which, of course, means giving the user the option to do so). And if the user chooses to set a key/mouse combination to select/deselect all, then that's on them if they somehow manage to accidentally do it, but there's no reason to not give them that option.
vertigo
 
Posts: 106
Joined: Wed Feb 15, 2017 3:49 pm

Re: Categories: Select & deselect children

Postby m.Th. » Sat Feb 18, 2017 11:14 am

Agree with the menu. Perhaps better „Rename” first (usually we have Add - Edit - Delete = Birth - Life - Death):

Add
Rename
Delete

Deselect : +1

WRT to children / parent and sub-categories. Well,... both are known: In Windows' terminology we have both: „subfolders” and „parent folder”. However in Windows security (Active Directory) we clearly have „Include inheritable permissions from this object's parent” or „Replace all child permissions...”. Below is a standard Windows dialog:

!!-Children.JPG
!!-Children.JPG (43.15 KiB) Viewed 75 times
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.84 64bit & XnView 2.00 x64 on Win7 x64 -
User avatar
m.Th.
XnThusiast
 
Posts: 1283
Joined: Wed Aug 16, 2006 6:31 am

Re: Categories: Select & deselect children

Postby vertigo » Sat Feb 18, 2017 4:23 pm

Not saying the 'child' usage is unknown or unused, but basic users may not know it. Anybody messing with Active Directory settings is likely not a basic user. Just trying to avoid confusion. Think of it this way: your doctor may know lots of medical and scientific terms, as do many other people, but you may not, so do you want them explaining what's going on with you with those terms or in laymen terms?
vertigo
 
Posts: 106
Joined: Wed Feb 15, 2017 3:49 pm


Return to MP - Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests