How do I disable the right click menu on editable text boxes?

How do I stop this “Modify Text” menu showing when the player right clicks inside an editable text box widget?

This is in “Play in standalone game” mode but it also happens in “Play in selected viewport” mode too.

Is so weird. does is it not the editor mode ? That kind of menu should not appears in the play mode

Hi Solus Peregrine ,

This is not a bug. You can disable the ContextMenu by selecting your EditableBox in the UMG designer and unchecking the AllowContextMenu variable.

Cheers,

Hi project.gheist, I forgot to mention that this is on version 4.10, I’m not sure but I found a change log that says that option was added in 4.11. Is there no way around this for 4.10?

This feature indeed got added in 4.11. A workaround/dirty hack would be to do the following at the top of the function SEditableText::SummonContextMenu in SEditableText.cpp to disable the functionality in cooked builds;

#if !WITH_EDITOR
return;
#endif

That’s perfect, cheers