The problem is in gwui.MessageStream.on_viewport_scroll(). handle_scroll() is called with a value which may not be within the range of the scrollbar, and therefore the range of messages, which causes it to revert to showing the top of the page. It also causes the gap when you scroll up when at the top message. The scrollbar automatically corrects for this when it is set, but the out-of-bounds value is sent to handle_scroll(). Attached a patch which sends scrollbar.get_value() instead.
** Attachment added: "gwui.py" https://bugs.launchpad.net/gwibber/+bug/627106/+attachment/1664033/+files/gwui.py ** Attachment removed: "gwui.py" https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/627106/+attachment/1664033/+files/gwui.py -- When scrolling by mouse until the last message, gwibber shows the top post https://bugs.launchpad.net/bugs/627106 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
