# print "scroll requested or scrollbar is closer than %dpx to the bottom" % (widget_height*0.2)
# self._print_scrollbar_position()
self._scroll_to_bottom()
...
...
@@ -769,7 +769,7 @@ class ChatWidget(base_class, ui_class):
def_print_scrollbar_position(self):
frame=self.chat_view.page().mainFrame()
print("%d out of %d, %d+%d=%d (%d)"%(frame.scrollBarValue(Qt.Vertical),frame.scrollBarMaximum(Qt.Vertical),frame.scrollBarValue(Qt.Vertical),self.chat_view.size().height(),