Problem description: When resizing an image by choosing the percentage option for a SECOND time (the first resize works fine), the image gets distorted. Steps to reproduce: 1. Right click on image, choose picture and resize by checking "relative" and "keep ratio". 2. The image is resized correctly. Now resize again. 3. Witness the mess. Current behavior: When resizing a second time, the image ratio and size go all wrong. Expected behavior: Platform (if different from the browser): Browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0
Created attachment 56753 [details] screenshots
I am testing this with .png images and it does not occur. The bug occurs with .emf images. Resizing by changing inches (i.e not using the relative option) works fine as well. I have attached three screenshots, one is the initial size (at 61%), second is the first resize (to 76%), and the third is the messed up second resize (to 81%).
Thanks for bugreport Please, attach emf picture itself
Created attachment 62197 [details] EMF image
I submitted the image used for these screenshots.
Thanks for attachment slightly reproducible in 3.3.4 and 3.5.3 on Fedora 64 bit ratio in percents indeed changes slightly each time we resize, but may be it is because of rounding number in percents. Especially seen when we change width to 1% and second time to 100%. But with png the same. I right understand problem?
Reproducible in 3.6beta2. Offset from expected values seems to be above "rounding" error and overall "relative" makes weird calculations.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.