[Webkit-unassigned] [Bug 19465] Cursor sometimes gets 'stuck' in textareas when trying to navigate with arrow keys

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 10 13:06:24 PDT 2008


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





------- Comment #2 from jonathon.jongsma at collabora.co.uk  2008-06-10 13:06 PDT -------
aha, one potentially important piece of information:

In QtWebKit, when you press down repeatedly and then get stuck at the "3. "
line, if you then press the right arrow key and then the left arrow key, an
ASSERT will be violated:

Starting program:
/home/jonathon/Projects/webkit.git/WebKitBuild/Debug/bin/QtLauncher 
[Thread debugging using libthread_db enabled]
[New Thread 0xb4fbb720 (LWP 21709)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4fbb720 (LWP 21709)]
0xb70770f4 in WebCore::VisiblePosition::previous (this=0xbfbc7084, 
    stayInEditableContent=true)
    at ../../../WebCore/editing/VisiblePosition.cpp:95
95              ASSERT(inSameLine(temp, prev));
90          // we should always be able to make the affinity DOWNSTREAM,
because going previous from an
91          // UPSTREAM position can never yield another UPSTREAM position
(unless line wrap length is 0!).
92          if (prev.isNotNull() && m_affinity == UPSTREAM) {
93              VisiblePosition temp = prev;
94              temp.setAffinity(UPSTREAM);
95              ASSERT(inSameLine(temp, prev));
96          }
97      #endif
98      
99          if (!stayInEditableContent)
#0  0xb70770f4 in WebCore::VisiblePosition::previous (this=0xbfbc7084, 
    stayInEditableContent=true)
    at ../../../WebCore/editing/VisiblePosition.cpp:95
#1  0xb705b663 in WebCore::SelectionController::modifyMovingBackward (
    this=0xbfbc7250, granularity=WebCore::CharacterGranularity)
    at ../../../WebCore/editing/SelectionController.cpp:439
#2  0xb7060aa5 in WebCore::SelectionController::modify (this=0xbfbc7250, 
    alter=WebCore::SelectionController::MOVE, 
    dir=WebCore::SelectionController::BACKWARD, 
    granularity=WebCore::CharacterGranularity, userTriggered=false)
    at ../../../WebCore/editing/SelectionController.cpp:515
#3  0xb70606ad in WebCore::SelectionController::modify (this=0x8122d58, 
    alter=WebCore::SelectionController::MOVE, 
    dir=WebCore::SelectionController::BACKWARD, 
    granularity=WebCore::CharacterGranularity, userTriggered=true)
    at ../../../WebCore/editing/SelectionController.cpp:479
#4  0xb7028aab in executeMoveBackward (frame=0x8122a48)
    at ../../../WebCore/editing/EditorCommand.cpp:530
#5  0xb7026e42 in WebCore::Editor::Command::execute (this=0xbfbc7658, 
    parameter=@0xbfbc7670, triggeringEvent=0x0)
    at ../../../WebCore/editing/EditorCommand.cpp:1371
#6  0xb7402f12 in QWebPage::triggerAction (this=0x8121a78, 
    action=QWebPage::MoveToPreviousChar, checked=false)
    at ../../../WebKit/qt/Api/qwebpage.cpp:1373
#7  0xb73fee6c in QWebPagePrivate::keyPressEvent (this=0x8121ca0, 
    ev=0xbfbc7bc4) at ../../../WebKit/qt/Api/qwebpage.cpp:534
#8  0xb73ff9ca in QWebPage::event (this=0x8121a78, ev=0xbfbc7bc4)
    at ../../../WebKit/qt/Api/qwebpage.cpp:1675
#9  0xb74058e8 in QWebView::keyPressEvent (this=0x8121750, ev=0xbfbc7bc4)
    at ../../../WebKit/qt/Api/qwebview.cpp:710
#10 0xb5b2d6f4 in QWidget::event () from /usr/lib/libQtGui.so.4
#11 0xb7405cee in QWebView::event (this=0x8121750, e=0xbfbc7bc4)
    at ../../../WebKit/qt/Api/qwebview.cpp:539
#12 0xb5ad5c0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#13 0xb5adaaec in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0xb58a36a9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#15 0xb5b3122e in ?? () from /usr/lib/libQtGui.so.4
#16 0xb5b65eeb in ?? () from /usr/lib/libQtGui.so.4
#17 0xb5b67fce in ?? () from /usr/lib/libQtGui.so.4
#18 0xb5b404e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#19 0xb5b693ba in ?? () from /usr/lib/libQtGui.so.4
#20 0xb5283bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb5286e5e in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb52873ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb58cef98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#24 0xb5b691b5 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb58a292d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#26 0xb58a2abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#27 0xb58a4d3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#28 0xb5ad5567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#29 0x0805809b in main (argc=Cannot access memory at address 0x0
) at /home/jonathon/Projects/webkit.git/WebKit/qt/QtLauncher/main.cpp:314
The program is running.  Exit anyway? (y or n) 


-- 
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