Bug #1283
closed
Murm autoscrolls message ignoring attached picture
Added by krigstask about 11 years ago.
Updated over 9 years ago.
Description
Upon arrival of new message with image attached, Murm autoscrolls chat window taking only text into account. That leaves image mostly hidden and forces user to scroll manually.
That's because autoscrolling happens only on DOMNodeInserted
and window.onresize
events, and image loading takes some time after DOMNodeInserted
.
Give me the name of a JS DOM event that occurs on document height change and the fix will be a one-liner.
Why `window.onresize` doesn't catch it, then?
Because it's fired when viewport is resized (when you change LC window size, for example), not when document height is changed. I'd expect something like document.onresize
instead, but there is no such event.
- Status changed from New to Assigned
- Target version set to 0.6.60
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset main|commit:84c3432348fa22dc19b7ca6f99f9752e01c5db97.
- Estimated time set to 5:00 h
- Status changed from Resolved to Closed
Looks like the issue is back.
LeechCraft 0.6.70-2726-gea9f29a
Built with Qt 4.8.6, running with Qt 4.8.6
Running on: Mac OS X 10.9
Actually it's Mac OS X 10.10.2, by the way.
This is probably a slightly different issue (though with the same observed effect). Reported as #1947.
Also available in: Atom
PDF