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

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
budz45
XnThusiast
Posts: 1621
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
Clipboard 2.png (27.75 KiB) Viewed 4099 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)
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
quapurna
Posts: 135
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: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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 1.7.1 64bit on Win11 x64 -
User avatar
budz45
XnThusiast
Posts: 1621
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: 1621
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
menu entry to delete a selection.png (33.2 KiB) Viewed 3885 times
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 1621
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: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 1621
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: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 1621
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
Post Reply