Toggle "select all"

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Toggle "select all"

Post by Dreamer »

Toggle select all for menu item, toolbar button and keyboard shortcut Ctrl+A, to toggle between:

- select all items
- deselect all items

If more than 1 and less than all items are selected, then do the same, for example:

- 3 items are selected
- press Ctrl+A
- all items will be selected
- press Ctrl+A again
- no items will be selected
- press Ctrl+A
- all items will be selected
...
Dreamer
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Toggle "select all"

Post by xnview »

Everybody agrees?
Pierre.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Toggle "select all"

Post by JohnFredC »

I agree
John
User avatar
Ty
Posts: 152
Joined: Thu Feb 23, 2006 3:18 am
Location: San Luis Obispo, California

Re: Toggle "select all"

Post by Ty »

I agree.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Toggle "select all"

Post by oops66 »

I agree too, but in this case do the same thing for the TAG function ( crtl+T) should be "tag all/untag all" too (instead invert selection)
(same behavior & menu names for crtl+A and crtl+T for a standardization)
XnViewMP Linux X64 - Debian - X64
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Toggle "select all"

Post by Dreamer »

oops66 wrote:...but in this case do the same thing for the TAG function ( crtl+T) should be "tag all/untag all" too (instead invert selection)
Ctrl+T - tag, is not the same function, it's to tag the current, selected file(s) only. Ctrl+T and Space key work the same way as Insert and Space in the file managers and this shouldn't be changed. These shortcuts shouldn't tag all files, only if the files are selected, then I agree with the same behavior - tag all > untag all (selected files).
Dreamer
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Toggle "select all"

Post by oops66 »

Ah right , but : I usually tag my photo into the full screen mode with only the bistable shortcut "T" under v1.96.5 ( "T" Tag, "T" untag, "T" Tag...).
The "Ctrl+T" is to tag the selected file into the browser mode ( "ctrl+T"Tag, "ctrl+T" untag, "ctrl+T" Tag...), I usually use the mouse to tag photo into the browser mode.
And into the View mode "T" or "Ctrl+T" tag the current file but a new "T" or "ctrl+T" does not untag the file :bug:
And into the View menu (browser mode) "Ctrl+T" is to invert the selection ( see menu: View\Tag\Invert (Ctrl+T)), then it's a bite confusing.


So I think it will be a good thing to harmonize these both similar functions: (select and Tag), ... same behavior, same menu structure, same menu names, same shortcuts structure.
XnViewMP Linux X64 - Debian - X64
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Toggle "select all"

Post by Dreamer »

Added in the latest beta.

Moved to "1.97 Testing - Feedback".

- Tag still work the old way (toggle selected).

- Ctrl+A works good, but after the items are deselected, no item is selected - I think the previously selected file should be selected.
Dreamer
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Toggle "select all"

Post by xnview »

Dreamer wrote: - Tag still work the old way (toggle selected).
And what do you want?
- Ctrl+A works good, but after the items are deselected, no item is selected - I think the previously selected file should be selected.
No i don't think...
Pierre.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Toggle "select all"

Post by Dreamer »

xnview wrote:
Dreamer wrote: - Tag still work the old way (toggle selected).
And what do you want?
Ctrl+T is to invert tag, this is OK, but Insert and Space keys functions might be changed, as oops66 has suggested. Often I select several files and I want to tag all selected, but since some of those files are already tagged, it's not possible, so the only way is to manually tag the files one by one.

Missing feature which would help is "toggle tag/untag selected", so I suggest to change the shortcuts "Insert" and "Space" to toggle tag selected. For example:

- files 1, 3, 5 are tagged
- select files 1-6
- press Insert
- files 1-6 will be tagged
- press Insert
- files 1-6 will be untagged

It's similar to "Invert", but basically it's the combination of existing options (without shortcuts) in menu > view > tag > "tag current" and "untag current". I think it might be added also to menu, so here is my final suggestion:

- menu > view > tag > "Toggle" (toggle between "tag current" and "untag current")

- keyboard shortcuts "Insert" and "Space" to "Toggle" (toggle between "tag current" and "untag current")
xnview wrote:
Dreamer wrote:- Ctrl+A works good, but after the items are deselected, no item is selected - I think the previously selected file should be selected.
No i don't think...
Hmm... in XnView, when I go to any folder, the first item is selected, when I go up, previous folder is selected, this is very useful. In Explorer and other file managers, when I deselect all files, the last selected file is selected, or focused - always. This is also very useful. Since the file can't be focused in XnView, it should be selected IMHO. At least as option. It is easy to deselect all items and reset the position, but it's impossible to restore the position once it has been lost

More opinions??
Dreamer
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Toggle "select all"

Post by oops66 »

+1 I agree,
As I said before:
"I think it will be a good thing to harmonize (standardize) these both similar functions: (select and Tag), ... same behavior, same menu structure, same menu names, same shortcuts structure."
XnViewMP Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Toggle "select all"

Post by xnview »

Dreamer wrote: - keyboard shortcuts "Insert" and "Space" to "Toggle" (toggle between "tag current" and "untag current")
Ok, so you would like that Space/Insert work different than Ctrl+T, right?
Must be changed like new Ctrl+A (for tag)?
Pierre.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Toggle "select all"

Post by Dreamer »

Not exactly like Ctrl+A, because Ctrl+A is to select/deselect all files, Insert/Space would tag/untag all selected files only. This feature is missing. There is "invert", "tag all selected", "untag all selected" (these without shortcut), but "toggle" - between tag/untag all selected is missing.

oops66 - if you want the same option as Ctrl+A to tag/untag all files, then perhaps a new shortcut might be added - Ctrl+Alt+A (seems to be free) to tag/untag all files. This item is missing in the menu too! There is only "Untag all" (to untag all files in the current dir).
Dreamer
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Toggle "select all"

Post by oops66 »

Dreamer wrote:...oops66 - if you want the same option as Ctrl+A to tag/untag all files, then perhaps a new shortcut might be added - Ctrl+Alt+A (seems to be free) to tag/untag all files. This item is missing in the menu too! There is only "Untag all" (to untag all files in the current dir).
Hello Dreamer
Personally, I agree !
but Ctrl+Alt+T is better for Tag
Last edited by oops66 on Thu Nov 05, 2009 8:06 pm, edited 1 time in total.
XnViewMP Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Toggle "select all"

Post by xnview »

Dreamer wrote:Not exactly like Ctrl+A, because Ctrl+A is to select/deselect all files, Insert/Space would tag/untag all selected files only. This feature is missing. There is "invert", "tag all selected", "untag all selected" (these without shortcut), but "toggle" - between tag/untag all selected is missing.
Sorry but i don't understand what you would like for Insert/Space? :-)
Pierre.
Post Reply