GNOME Bugzilla – Bug 707781
new messages don't cause scroll
Last modified: 2013-09-16 15:27:06 UTC
I'm using Empathy 3.9.91 with the "Boxes" theme currently in a fresh F20 pre-alpha install. Empathy seems to not be scrolling on receiving new messages right now. New messages are below the visible text area until I explicitly scroll down. I'm pretty sure my install is "clean" (didn't keep dconf settings), but I did keep old logs and some adium themes (which I'm not using).
Does it happen with outgoing messages as well? I've been told about an issue with recent versions of WebKitGtk. Which version are you using?
Looks like it does happen with outgoing as well. My Empathy version is 3.9.91, my webkit package claims to be webkitgtk3-2.1.90.1.
I managed to reproduce using https://trac.webkit.org/wiki/WebKitGTK/2.2.x I'll investigate the bug on Monday.
The problem is because of 'document.body.scrollTop' always being 0, ignoring the actual position of the scrollbar. I can only reproduce this problem with the webkit-2.2 branch.
This seems to be a WebKitGtk regression, I forwarded this bug to https://bugs.webkit.org/show_bug.cgi?id=121419
Ok actually that's something we can fix in Empathy.
Created attachment 255036 [details] [review] Template.html: remove DOCTYPE This ensures that WebKit considers the document in 'quirks' mode which is now needed when using document.body.scrollTop (used to check if we should scroll down or not when adding a new message). See https://bugs.webkit.org/show_bug.cgi?id=121419 for details.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.