[Webkit-unassigned] [Bug 62937] New: Please expose QScrollBar objects in QWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 18 13:20:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62937

           Summary: Please expose QScrollBar objects in QWebView
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: szyk100 at o2.pl


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list