[Webkit-unassigned] [Bug 11415] New: Selection change performed even when delete delegate replies NO

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 25 15:22:51 PDT 2006


http://bugs.webkit.org/show_bug.cgi?id=11415

           Summary: Selection change performed even when delete delegate
                    replies NO
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: duncan at mclink.it


If webView:shouldDeleteDOMRange: replies NO, WebCore/editing/TypingCommand.cpp
still performs selection changes and
webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting: is
called shortly thereafter (incidentally with dangling proposed selection
nodes).

What seems to be happening is that
TypingCommand::deleteKeyPressed(TextGranularity) and
TypingCommand::forwardDeleteKeyPressed(TextGranularity) are performing
selection changes before making sure that
document()->frame()->shouldDeleteSelection(selectionToDelete) is checked.


-- 
Configure bugmail: http://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