WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
62937
Please expose QScrollBar objects in QWebView
https://bugs.webkit.org/show_bug.cgi?id=62937
Summary
Please expose QScrollBar objects in QWebView
szyk
Reported
2011-06-18 13:20:14 PDT
Access to QScrollBar objects is neccessary when we do chat program based on QWebView. Then new messages appear on the bottom. Then it is important to scroll QWebView to the bottom always when user want to (most of the time he want). But some times user want to look at the messages above, so it scroll up. In that case we shouldn't automaticaly scroll to the bottom when new message arrives, instead we must wait when user scrolls again to the bottom. Other case is resizing QWebView, then I must known whether vertical scroll bar was scrolled to the end or not. To handle this two cases I must have acces to QAbstractSlider::sliderMoved signal (from QWebFrame object). Then I will set my variable mScrolledToEnd = sliderPosition() == maximum(). This allow me to proper handle QWebFrame::contentsSizeChanged, and my overloaded QWebView::resizeEvent. Please let me known other solution for this problem if you know.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-07-29 10:47:46 PDT
The Qt port has been removed from WebKit, resolving.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug