Page 1 of 1

0.61 Request: Add a menu item to 'Delete selection'

Posted: Sat Jul 20, 2013 8:48 pm
by budz45
Currently I cannot find the menu item/command in any of the menus to be able to 'Delete selection' of a picture in view mode.

The only way to 'Delete selection' of a picture in view mode is to make a selection and press Del key on my keyboard

Ideally the menu item for 'Delete selection' would go under the "Edit" menu
Clipboard 2.png
Clipboard 2.png (27.75 KiB) Viewed 4101 times
Without needing the 'Del' shortcut assigned to it (because the 'Del' key shortcut already is assigned to both 'Delete file' and 'Delete selection' in view mode and it could create user confusion)

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Sun Jul 21, 2013 1:57 pm
by quapurna
Halo.

If "Delete" vs "Delete Selection" is considered confusing, I think the same issue can be applied to "Copy" vs "Copy Selection" and "Paste" vs "Paste Selection".

What do you think ?

Thanks.

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Sun Jul 21, 2013 4:40 pm
by m.Th.
The GUI rules are pretty clear from many years on all OSes: The verb (Open, Cut, Copy, Delete, Copy To, Move To etc.) is applied to selection.

There is always at least one selected file, case in which the verb applies to that single file. IMHO it is more confusing to have Delete File... and Delete Selection..., especially because we are in a graphics-related program where Delete Selection... leads the user to think at something similar with 'fill with the background color the masked(selected) area from the image'

Hence I think that the OP's request has some reasoning, but I'd rather change the menu entries. In the File menu I'd write 'Delete File...' instead of Delete... and in Edit menu I'd add 'Clear...' or, perhaps better, 'Clear Selection...'.

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Mon Jul 22, 2013 1:52 am
by budz45
quapurna wrote:Halo.

If "Delete" vs "Delete Selection" is considered confusing, I think the same issue can be applied to "Copy" vs "Copy Selection" and "Paste" vs "Paste Selection".

What do you think ?

Thanks.
No it's not confusing :D because it depends on the use case scenario. The "Delete" and the "Delete selection" are different separate commands that both happen to have the same 'delete' connotation name used; sharing the same hotkey/shortcut but in different scenarios. Same thing goes for "Copy" and "Copy selection" again same connotation of the word 'copy' and same hotkey/shortcut but different use case scenarios.

"Delete" = in view mode, not making any selection on the picture but pressing 'Del' which deletes the file

"Delete selection" = in view mode, drawing a selection on the picture with your cursor and pressing 'Del' to delete only a portion of the picture (not delete the whole file)

"Copy" = in view mode, pressing Ctrl+C or it's command from menu, will copy the file itself

"Copy selection" = in view mode, pressing Ctrl+C only after drawing a selection with cursor, will copy a selected portion of the picture but not copy the file itself


It does make sense and as m.Th. has said this is how it has been on XnView for all OS platforms for many years and should not change.

In my original post above I was merely remarking that there is no menu item for "Delete selection" which there could be if Pierre agreed that it could be added but while we are at it also "Copy selection" menu item too could be added next to it > under the 'Edit' menu bar

monsieur Pierre we await your call :P

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Sat Feb 08, 2014 2:19 am
by budz45
please add the option here
menu entry to delete a selection.png
menu entry to delete a selection.png (33.2 KiB) Viewed 3887 times

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Sat Feb 08, 2014 2:34 pm
by xnview
you means to the 'Clear' from XnView Classic?

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Sat Feb 08, 2014 8:47 pm
by budz45
xnview wrote:you means to the 'Clear' from XnView Classic?
Yes :D :D

So the command and shortcut already exist in XnViewMP it is just to add this menu entry for 'clear'. Thanks.

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Wed Mar 05, 2014 2:41 pm
by xnview
i don't understand, currently 'clear' is in the menu but disabled, the code is not yet here

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Thu Mar 06, 2014 10:15 am
by budz45
Yes that's fine. Yes 'Clear' is what I was looking for.

Ok I await a future version when you make the code available :) Thanks

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Thu Mar 06, 2014 1:37 pm
by xnview
See Issue 257 for current status and details.

Re: 0.61 Request: Add a menu item to 'Delete selection'

Posted: Sun May 18, 2014 1:29 am
by budz45
Thank you. Fixed in XnViewMP 0.68 :)