After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 327002 - changing the view width does not re-scale the scaled-down image attachment
changing the view width does not re-scale the scaled-down image attachment
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: Rendering
3.30.x
Other Linux
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
gnome[unmaintained]
Depends on:
Blocks: 327508 327510
 
 
Reported: 2006-01-14 22:03 UTC by Karsten Bräckelmann
Modified: 2014-12-02 01:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Karsten Bräckelmann 2006-01-14 22:03:54 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?
Comment 1 Karsten Bräckelmann 2006-01-14 22:06:13 UTC
Evolution 2.4.2.1, GtkHTML 3.8.2
Comment 2 Srinivasa Ragavan 2006-02-05 04:35:23 UTC
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.
Comment 3 Matthew Barnes 2009-11-10 05:48:46 UTC
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.
Comment 4 André Klapper 2014-12-02 01:08:02 UTC
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).