Page MenuHomePhorge

Create a custom context menu for SendMessageBox
Closed, ResolvedPublicFEATURE REQUEST

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESTapr3vau
ResolvedFEATURE REQUESTapr3vau

Event Timeline

tusooa lowered the priority of this task from Needs Triage to Normal.
tusooa moved this task from In Progress to Backlog on the the Kazv Project board.

Looks like QML TextArea does not work well with custom context menu. Specifically if I attach a TapHandler and make it show context menu on right click, both the default one and my own one will show up.

Ok, qqc2-desktop-style only overrides TextArea (which is in QQC2) but not TextEdit (which is in QtQuick).
https://invent.kde.org/frameworks/qqc2-desktop-style/-/blob/master/org.kde.desktop/TextArea.qml?ref_type=heads

@apr3vau If we change the component used for SelectableText from TextArea to TextEdit, we can implement our own context menu without problems.

tusooa changed the subtype of this task from "Task" to "Feature Request".Jun 12 2024, 10:36 PM