GNOME Bugzilla – Bug 312370
When loading images from an html message the percentage on the status bar is wrong
Last modified: 2013-09-13 00:47:59 UTC
Please describe the problem: When receiving html mail with embedded images I load them with the menu option: "View/Show message/Load images" (more or less, I use the spanish version, which reads: "Ver/Mostrar mensaje/Cargar imágenes"). If the image(s) take too long to download, the percentage counter in the satus bar goes nuts and show figures over "100% completed". Steps to reproduce: 1. View a html mail message with embedded images 2. Go to "View/Show message/Load images" menu option 3. Look at the status bar Actual results: The message in the status bar may say something like: "Fetching http://someserver/somesite/someimage.gif" (32407% completed) Expected results: I expect the counter to go up to 100%, not more Does this happen every time? No, only when it takes long to download the images Other information: I can provide a screenshot if necessary
Do you find this even with upgraded versions of evolution?? I am not able to replicate the reported issue using evolution-2.2.3 and evolution-2.4.0.
Created attachment 52208 [details] Screenshot showing the supposed bug in the percentage. This screenshot was taken from a Ubuntu (Breezy) Linux install with Evolution 2.4.0 loading an imagen in an html message. In the red square you can see that the percentage loaded is incorrect because it's over 100%.
chaging the state to new.
still in 2.5.x according to duplicate bug 333718
*** Bug 333718 has been marked as a duplicate of this bug. ***
Created attachment 65014 [details] Screenshot of the issue in version 2.6.1 on Ubuntu Dapper
How I recreated this bug: 1- In Preferences/Mail Options/HTML mail Tab: Mark "Never load images from internet" 2- Create a new message in html format. 3- Insert an html file (Insert/HTML file) which contains somthing like: [snip] <img src="http://www.asixinformatica.com/archivos/inkscape_properties.png"> [/snip] This image is quite large, +- 350 KB 4- Send the message to myself 5- When I received the message I don't see the image (see step 1), so I select "View/Load images" (Ctrl-I) 6- The image starts downloading, producing the erroneous output on the status bar.
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/evolution/+bug/57115
Created attachment 90207 [details] [review] Proposed patch to fix this problem This patch checks for a valid Content-Length HTTP header and calculates the download percentage accordingly. If there's no such valid header, no progress status is shown.
Fixed to head.
*** Bug 481561 has been marked as a duplicate of this bug. ***
*** Bug 486367 has been marked as a duplicate of this bug. ***