diff options
author | Tobias Markmann <tm@ayena.de> | 2016-04-15 17:03:02 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2016-04-25 08:38:46 (GMT) |
commit | ef341e4762b1017047555c37dac1dfdc6ba2489d (patch) | |
tree | e4b3454c3f7b0fd3523269f193c8402c0bf30c4c /3rdParty/LibNATPMP | |
parent | 511c43aec78279ecaa6008bd7f4f08159d3a5c00 (diff) | |
download | swift-ef341e4762b1017047555c37dac1dfdc6ba2489d.zip swift-ef341e4762b1017047555c37dac1dfdc6ba2489d.tar.bz2 |
Fix detection of vertical scroll bar position in chat views
Chat views are expected to remember the scroll position.
If the user scrolled all the way down, the view should keep
scrolled all the way down, even if the windows is resized,
new messages are added or the user enters a multi line message
in the message input box.
Qt WebKit only provides reliable scroll position updates in
their web environment. This requires to have scroll changes
call a JS hook that calls our C++ signal.
Test-Information:
Tested and verified the following cases for correct behavior:
* entering a multi line message keeping the view scrolled down
* resizing the window and keeping it scrolled down
* receiving messages and the view keeps being scrolled down
* verified that view does not scroll down if it is not yet on
resize of the window, entering multi line messages, and
receiving new messages
Change-Id: I579a07d0b073c34e7a46b0fde1bc09f3da08d5da
Diffstat (limited to '3rdParty/LibNATPMP')
0 files changed, 0 insertions, 0 deletions