<AWT Dev>  Review Request: JDK-7158615 [macosx] Some TrayIcon tests presume action trigger on BUTTON1
anthony.petrov at oracle.com
Wed Mar 5 12:17:40 UTC 2014
> we do not know the location of the TrayIcon on the screen.
Oh yes, we do! We could use the Robot to capture a screen image and then
locate our icon in that image (provided we use a unique-enough icon).
Well, I'm not suggesting you to implement this now. :)
The fix looks good to me.
On 3/5/2014 1:13 PM, Petr Pchelko wrote:
> Hello, AWT team.
> Please review the fix for the issue:
> The fix is available at:
> I'm open sourcing these tests, the difference is that on Mac the TrayIcon action event is triggered by the right mouse button, not left.
> The tests could not be converted to automatic as we do not know the location of the TrayIcon on the screen.
> With best regards. Petr.
More information about the awt-dev