How to reproduce:
Make selection, crop normally (Shift-X), undo (Ctrl-Z) - selection is back, try to crop lossless - menu item is greyed out (disabled). Move selection back and forth - lossless crop is now enabled.
OK, it's not easy to reproduce - depends on the size of the selection. Attached is the image and screenshot showing the problem and selection which always problematic (low right corner of the screenshot)
If I understand logic correctly - lossless crop should always be enabled if selection is present. Not sure how actual selection size/position is computed - rounded down, up or just rounded to compression block size.
Sorry, both files are > attachment limit (2Mb), had to share it on Google drive:
https://drive.google.com/file/d/1jOQPpZ ... drive_link
Let me know if I can be at any help to reproduce or provide details
Lossless crop is disabled but shouldn't
Moderators: helmut, XnTriq, xnview, Dreamer