[Webkit-unassigned] [Bug 24351] New: Unwanted scrolling while editing in custom WebKit app

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 4 07:00:30 PST 2009


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

           Summary: Unwanted scrolling while editing in custom WebKit app
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ilja at iwascoding.com


Overview Description:

When inserting a character into an editing WebView in our application, the
WebView is automatically scrolled down after each key pressed. The WebView also
scrolls downs when the selection is changed by the user. 

This behaviour was first noticed by users who installed the Safari Public Beta
and has been reproduced by us.  

Steps to Reproduce:

- Download our application GarageSale 5.2 from
<http://www.iwascoding.de/downloads/GarageSale_5.2.dmg>
- Run the application in demo mode and skip the eBay authorization phase in
setup
- start entering characters in the item description area (eBay preview mode) or
change text selection of item description

Actual Results:

- WebView scrolls down

Expected Results:

- WebView should not scroll while entering plain text characters

What we did so far to track the bug down:

We built a sample application that edits the same HTML as used in GarageSale.
The scroll-down effect does not happen there. We therefore believe the problem
might be triggered by the way the WebView is used in GarageSale, e.g. its
loaded from a separate nib file and  added to the window's view hierarchy when
needed.

Earlier versions of WebKit did not shown this problem.

Here is a screenshot of the Xcode debugger breaked at the WebView's clip view
boundsDidChange notification showing a backtrace:
<http://www.iwascoding.com/~ilja/GarageSaleWebViewBackTrace.png>


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



More information about the webkit-unassigned mailing list