Bug 48399 - [Qt] QWebFrame incorrectly scrolls to show a focused input field when scrollbars are enabled
Summary: [Qt] QWebFrame incorrectly scrolls to show a focused input field when scrollb...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Minor
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-10-26 23:18 PDT by Robert Mutke
Modified: 2011-01-14 07:27 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Mutke 2010-10-26 23:18:15 PDT
Reproduce:
1. Create QWebView and open a web page with an input field, e.g. google.com
2. Select input field
3. Resize QWebView so the field is below visible area - make sure QWebView does not loose focus.
4. Start typing.
5. QWebFrame is scrolled automatically so the input field is visible.

When the horizontal scrollbar is enabled, then it covers the input field and it is not visible.

If the input field in pt. 3 is above the visible area, then it scrolls correctly to show the filed.
If the horizontal scroll is disabled, then it scrolls correctly to show the field.

This is a follow-up report from:
http://bugreports.qt.nokia.com/browse/QTWEBKIT-224
Comment 1 Benjamin Poulain 2011-01-14 07:27:22 PST
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs
Otherwise bug reports can be ignored for a long time.

I can't reproduce that bug on trunk. The input rect is made visible above the scrollbar.