https://bugs.kde.org/show_bug.cgi?id=447740
Ahmad Samir <a.samir...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.samir...@gmail.com --- Comment #7 from Ahmad Samir <a.samir...@gmail.com> --- I noticed this in the backtrace: #3 0x00007f4bde872db7 in KateViewInternal::cursorMoved() (this=0x563c189c63c0) at /home/xaver/kde/src/ktexteditor/src/view/kateviewinternal.cpp:4114 ev = <incomplete type> "incomplete type" is a bit weird; looking at ktexteditor: void KateViewInternal::cursorMoved() { view()->updateRangesIn(KTextEditor::Attribute::ActivateCaretIn); #ifndef QT_NO_ACCESSIBILITY if (QAccessible::isActive()) { QAccessibleTextCursorEvent ev(this, static_cast<KateViewAccessible *>(QAccessible::queryAccessibleInterface(this))->positionFromCursor(this, m_cursor)); QAccessible::updateAccessibility(&ev); } #endif } QAccessible::queryAccessibleInterface() returns a QAccessibleInterface*, so we'd have to use QAccessibleInterface::textInterface() to get a QAccessibleTextInterface*; not sure if this makes a difference but I'd try: @@ -4597,7 +4597,8 @@ void KateViewInternal::cursorMoved() #ifndef QT_NO_ACCESSIBILITY if (QAccessible::isActive()) { - QAccessibleTextCursorEvent ev(this, static_cast<KateViewAccessible *>(QAccessible::queryAccessibleInterface(this))->positionFromCursor(this, m_cursor)); + KateViewAccessible *iface = static_cast<KateViewAccessible *>(QAccessible::queryAccessibleInterface(this)->textInterface()); + QAccessibleTextCursorEvent ev(this, iface->positionFromCursor(this, m_cursor)); QAccessible::updateAccessibility(&ev); } #endif (If it works, feel free to use it in a MR). -- You are receiving this mail because: You are watching all bug changes.