From another post I understand that to send a command+C for copying text I have Robot press Alt+C. But when trying to command+click it doesn't work. I have Robot click with modifiers=Alt, but this doesn't work. It ends up not even clicking. If I however manually Alt+click through the viewer in Robot it does work. But when I have Robot record my mouse actions and replay them it doesn't work.

I tried this but Alt doesn't seem to be getting pressed. I also tried it with the first release set to false. The click is now being registered but it doesn't appear that Alt is actually being pressed when its clicking.

2. If even this doesn't work could you please enable the log and then post the logs for (1) manual Alt+click and (2) the automated Alt+click using the code above? This would clearly show whether there is any difference.

The mouse moved before the Mouse press because I have the option to generate a mouse move before a click selected. I also tried it with this option turned off but there was still no difference other than the two move events not being in the log before the mouse press.

Still the manual Alt+click works but the automated one doesn't seem to be Pressing the Alt button even though the two logs are quite similar.

I finally reproduced the failure and I succeed to identify the cause. As I didn't find a use for Alt+click I tested the behavior of Alt+drag which is supposed to drag the window on Linux.

It turned out that Java for some reason internally converted a left mouse click combined with Alt to a middle mouse click. As a consequence of this behavior the Robot simulated a left mouse click but the server received a middle one (with no Alt key pressed).

I updated the code to prevent this situation and I successfully tested an Alt+mouse drag action on Linux. I was wondering whether you could upgrade to the latest 2.3.5Beta from today and confirm whether it works on your environment? It would be great if you could try out both the composed action (alt press, mouse click, alt release) and the single command ("Mouse click modifiers=Alt"). Both should work fine now.