GNOME Bugzilla – Bug 327002
changing the view width does not re-scale the scaled-down image attachment
Last modified: 2014-12-02 01:08:02 UTC
Image attachments that are scaled down to fit the display width are *not* properly re-scaled when the window width changes. Steps to reproduce: * Have a mail with an image attachment that is larger than the mail display. * Display the image inline. * Maximize the mail window. => The image does *not* re-scale, still is as small as before. * Hide the image attachment. * Display the image inline again. => Now the image finally fits the widh correctly. * Un-Maximize the mail window => The image does *not* re-scale, still is as large as before. Additional notes: * Adjusting the width of the mail window a bit results in the same broken behavior. * Adjusting the width of the mail window faster or with a significant width change actually *does* re-scale the image. However, this seems to be done in between and does not properly reflect the width when done resizing. Reproducible: Always, so far. Prabably GtkHTML/Rendering rather than Evolution/Mailer?
Evolution 2.4.2.1, GtkHTML 3.8.2
It use to work. I guess this could be a GTK bug, but not sure. It was working while I was developing this feature. Even now, if you do faster it will work. Im not sure, what is broken here. Well, confirming the bug.
Moving this to GtkHTML because I'm still seeing this with the new image handling plugin in 2.29. For some reason, "size-allocate" signals are not always getting through to child widgets embedded in a GtkHtml parent widget. Not sure if GtkHtml or GtkHtmlEmbedded is to blame.
Since version 3.6, Evolution uses WebKit instead of GtkHtml for displaying messages. (And for completeness, Evolution 3.14 is planned to use WebKit also for composing and editing messages so GtkHtml will not receive any fixes anymore.) Hence I am closing this GtkHtml rendering bug report. We are sorry that your request was not handled in time when it was reported but unfortunately manpower is very limited (and does not allow testing every single reported issue separately again either). Please feel free to reopen this report (and move it to the "Evolution" product and the "Mail" component) if the problem described in this bug report still happens in a recent supported Evolution version which uses WebKit (the current stable Evolution version is 3.12).