I think this must be done in DocumentViewPrivate to handle focusIn to override cursor *always* to caret. I saw this problem *sometimes* when selection changes. Reproducible: Always Steps to Reproduce: 1. Right click to open context menu 2. Click outside it, but in text editor view 3. Cursor is still pointer, must be caret Actual Results: This is one of Qt5 backwords, i think :) Expected Results: Every time cursor is over document view to be caret
This should be resolved upstream in Qt 5.6.1, right? https://bugreports.qt.io/browse/QTBUG-49222