Opened 9 years ago

Closed 9 years ago

#6765 closed bug (fixed)

Shrink/Stretch to window don't work as expected

Reported by: idefix Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/ShowImage Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Using hrev39173.

I have both Shrink to window and Stretch to window selected.

When you open an image that needs to be horizontally shrinked/stretched and then browse to another image that needs to be vertically shrinked/stretched, you'll notice that ShowImage shows that image at it's original size. Only images that needs to be shrinked/stretched horizontally, will be shrinked/stretched.

The reverse happens when you first open an image that needs to be vertically shrinked/stretched.

Probably related to changeset:39129.

Change History (3)

comment:1 Changed 9 years ago by leavengood

Owner: changed from leavengood to axeld
Status: newassigned

Axel maybe you could take a look at this. I don't have much time at the moment, plus it is probably related to your recent changes (though who knows for sure since the ShowImage zoom code has always been a bit weird.)

comment:2 Changed 9 years ago by axeld

Status: assignedin-progress

comment:3 Changed 9 years ago by axeld

Resolution: fixed
Status: in-progressclosed

Fixed in hrev39431.

Note: See TracTickets for help on using tickets.