Work-around for failure to update images after rotation
Review Request #110730 - Created May 30, 2013 and submitted
Work-around for failure to update images after rotation. What happens is when an image is rotated in zoom-to-fit mode, the ImageScaler asks a new down-sampled image to Document, but since document is busy, it ignores the request. This patch is a work-around which is simple enough to go to the 4.10 branch. A proper, more involved, fix is to take advantage of Document job system to schedule the downsampling. I am going to implement this for the master branch. Would be great if you could review it today because 4.10.4 is tagged tonight at 23:59 UTC.
Rotated images, they are correctly updated now.
Works as expected. I don't know if this is related, but when I rotate an image at 100% scale at least two times it is not centered in the middle of the screen any longer. It's especially disturbing with images that are smaller than the view size. But this behavior was already there before your patch. Is the view perhaps trying to scroll to the same absolute coordinates as before the rotate?