1.4.3 - crop panel - selection autorotation and clipboard hotkeys

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: helmut, XnTriq, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 2293
Joined: Sat May 09, 2015 9:37 am

1.4.3 - crop panel - selection autorotation and clipboard hotkeys

Post by user0 »

XnViewMP 1.4.3 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Viewer
few issues with crop panel selection autorotation and clipboard hotkeys

To reproduce:
1. run clean portable XnViewMP
2. open any picture
3. press SHIFT+X to open crop panel
4. make any selection

Issue A
5. rotate selection
6. press CTRL+X
selection rotates to 0degree before cutting
A.png

Issue B
5. press CTRL+C
no data will be copied to clipboard
I would expect bigger rectangular being copied to clipboard with background color (as per settings), like this:
B.png

Issue C
5. copy some image to clipboard in another app (eg mspaint)
6. press CTRL+V in xnview
image will be pasted from clipboard
7. make another selection and press CTRL+V
nothing will be pasted from clipboard

Issue D
5. rotate selection
6. scroll to prev/next image
selection will remain, but its rotation will be reset



Suggestion A
For the sake of consistancy all clipboard shortcuts (CTRL+X / C / V) shall be either disabled or enabled, not partial.
If enabled they shall work as usual - cut/copy/paste.

Suggestion B
add Rotation degree textbox to set value precisely at crop panel
inspired by Image Crop: the crop box can be rotated, and I can't reset, nor input the crop rotation degree with 0

Suggestion C
improve key modifier support (regular/crop-panel selection):
  • add SHIFT+Rotation to limit rotation to 8 directions (, 45deg steps)
  • add SHIFT+Move to limit movement to 8 directions (, 45deg steps)
  • fix CTRL+Move strange/unstable effect:
    - sometimes does not move at all
    - sometimes move vertical only
    - sometimes selection jumps to original point after CTRL release
    probably last one is desired effect, but imho, CTRL should not affect movement/rotation behaviour



Related
You do not have the required permissions to view the files attached to this post.
Last edited by user0 on Sun Oct 27, 2024 12:20 pm, edited 12 times in total.
User avatar
xnview
Author of XnView
Posts: 45837
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.4.3 - crop panel - selection autorotation and clipboard hotkeys

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce
Pierre.