Page 1 of 1

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

Posted: Sat Jul 09, 2005 6:55 pm
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

Posted: Sat Jul 09, 2005 9:34 pm
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.

Posted: Sun Jul 10, 2005 5:40 pm
by helmut
There was a bug with selection ratio in version 1.80. Do you experience the problems above in 1.80.1?

Posted: Sun Jul 10, 2005 7:01 pm
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

Posted: Sun Jul 10, 2005 7:21 pm
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?

Posted: Mon Jul 11, 2005 10:13 pm
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.

Posted: Tue Jul 12, 2005 3:43 am
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.

Posted: Tue Jul 12, 2005 12:18 pm
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:

Posted: Tue Aug 30, 2005 3:13 pm
by marsh
Fixed. v.1.80.2RC