Set Selection Ratio -> Same as Image: does not rotate

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: helmut, XnTriq, xnview

Locked
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Set Selection Ratio -> Same as Image: does not rotate

Post by negg »

Can anyone confirm this: in View Mode of a JPG-lossless 90° rotated image when I use "Set Selection Ratio -> Same as Image" the selection is not upright, but still across format (i.e. the same as if the image was not rotated).

Also flipping the orientation of the selection does not work than (feature, maybe, to keep the user from accidentally flipping it?)

Martin
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

negg wrote:Can anyone confirm this: in View Mode of a JPG-lossless 90° rotated image when I use "Set Selection Ratio -> Same as Image" the selection is not upright, but still across format (i.e. the same as if the image was not rotated).
This works perfectly for me. Ratio is correct after I lossless rotate image.
negg wrote:Also flipping the orientation of the selection does not work than (feature, maybe, to keep the user from accidentally flipping it?)
Flipping orientation of selection does work in normal mode (not lossless). I don't believe lossless functions are supposed to work on parts of images, other than trimming data from edges.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

There was a bug with selection ratio in version 1.80. Do you experience the problems above in 1.80.1?
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Post by negg »

Bug occured in 1.80.1 on WinXP SP2. So maybe it depends on the image. Try with this one:
Test Image (100 k)

Simply taken with my cam out of the window, and lossless rotated 90right.

Martin
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

negg wrote:Bug occured in 1.80.1 on WinXP SP2. So maybe it depends on the image. Try with this one:
Test Image (100 k)

Simply taken with my cam out of the window, and lossless rotated 90right.
Could you tell me how to reproduce it, please?
Pierre.
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Post by negg »

Yeah of course:

- Take a jpg with a digital camera
- rotate it 90° lossless

Or simply use my image on http://www.aspekt1.net/ms/temp/ratioTest.jpg

- in fullscreen mode or view mode (appears on both modes) draw a selection with mouse, not too small, not too big
- press D
- Selection is across (more wide than high), while image is upright (less wide than high)

See my commented screenshot to see what I mean.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Bug confirmed. Here is how I recreated problem:
1. Open jpg in tab or standard fullscreen.
2. Press <D> to set ratio same as image.
3. Lossless rotate image with <ctrl shift R> or use mouse.
4. Selecting area works correctly here, BUT...
5. Close image. (once saw crash here; see below+)
6. Restart Program or Open Image again.
7. Set ratio same as image, again.
8. *Now Ratio same as image is incorrect.

9. Using TAB is broken here; see http://newsgroup.xnview.com/viewtopic.php?t=2872
10. Using TAB works again if image is rotated back to original position before any changes were made.

+Xnview crashed when closing image in viewer (using steps above, not fullscreen, using RMB>Close). I cannot repeat this.
Win2k SP4. Rollup update 1.
User avatar
xnview
Author of XnView
Posts: 46301
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

negg wrote:Yeah of course:

- Take a jpg with a digital camera
- rotate it 90° lossless

Or simply use my image on http://www.aspekt1.net/ms/temp/ratioTest.jpg

- in fullscreen mode or view mode (appears on both modes) draw a selection with mouse, not too small, not too big
- press D
- Selection is across (more wide than high), while image is upright (less wide than high)

See my commented screenshot to see what I mean.
Ok, a :bugconfirmed:
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Fixed. v.1.80.2RC
Locked