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

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderator: XnTriq

User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

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

Post 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
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)
You do not have the required permissions to view the files attached to this post.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
quapurna
Posts: 134
Joined: Wed Jun 12, 2013 4:55 pm
Location: earth (the not-flat one)

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

Post 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.
User avatar
m.Th.
XnThusiast
Posts: 1586
Joined: Wed Aug 16, 2006 6:31 am

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

Post 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...'.
m. Th.

- Dark Themed XnViewMP 0.99.6 64bit on Win10 x64 -
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

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

Post 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
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

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

Post by budz45 »

please add the option here
menu entry to delete a selection.png
You do not have the required permissions to view the files attached to this post.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

you means to the 'Clear' from XnView Classic?
Pierre.
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

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

Post 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.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

i don't understand, currently 'clear' is in the menu but disabled, the code is not yet here
Pierre.
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

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

Post 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
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

See Issue 257 for current status and details.
Pierre.
User avatar
budz45
XnThusiast
Posts: 1598
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

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

Post by budz45 »

Thank you. Fixed in XnViewMP 0.68 :)
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only