Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3
-
None
Description
On iOS, I cant change the ContextMenu of a QTextEdit through the function setContextMenuPolicy.
And overriding the function ContextMenuEvent doesnt work either, as it doesnt seem to be called properly when the policy is left to the default settings - at least from my own tests.
Original report in the forum: https://forum.qt.io/topic/159474/
Reproducer:
int main(int argc, char* argv[]) { QApplication a(argc, argv); QTextEdit edit; edit.setContextMenuPolicy(Qt::NoContextMenu); edit.show(); return a.exec(); }