How to reach TextEditor context menus in Android? Long press or right click not working


Dear JUCE-Team, dear community,

I did not found a solution for how to show the PopUp-Menus for TextEditors (Copy, Paste, …) in android. Neither right-click when a mouse is attached via OTG USB nor long press by touch works.

The Java class created by the Projucer fires mouse clicks in
public boolean onTouchEvent (MotionEvent event) and could even be modified to doe something special on long click, as shown in .

But void handleMouseDownCallback (int index, Point sysPos, int64 time) in juce_android_Windowing.cpp does not care about any long press or right click modifiers.

So, does anybody has any clue on how to reach those context menus in android?

Thank you, kind regards!

E.mods.isRightButtonDown() never set after long-press on touch screen