Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6978735

AWTEventListener receives some internal mouse events for TrayIcon, XAWT

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_1

      Description

      This bug is based upon AWT_SystemTray/Automated/MouseEventMask test report.

       * This testcase checks if MouseEvents triggered by TrayIcon are
       * visible by an AWTEventListener added to the Toolkit. It also
       * checks if all listeners are triggered when AWTEventListeners and
       * MouseListeners are added.

      A number of mouse events are reported on canvas0 while they are expected to be reported on java.awt.TrayIcon. See err output:

      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_PRESSED,(5,5),absolute(1155,1001),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_RELEASED,(5,5),absolute(1155,1001),button=1,modifiers=Button1,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_CLICKED,(5,5),absolute(1155,1001),button=1,modifiers=Button1,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_PRESSED,(5,5),absolute(1155,1001),button=2,modifiers=Alt+Button2,extModifiers=Button2,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_RELEASED,(5,5),absolute(1155,1001),button=2,modifiers=Alt+Button2,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_CLICKED,(5,5),absolute(1155,1001),button=2,modifiers=Alt+Button2,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_PRESSED,(5,5),absolute(1155,1001),button=3,modifiers=Meta+Button3,extModifiers=Button3,clickCount=1] on canvas0
      FAIL: MouseEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_RELEASED,(5,5),absolute(1155,1001),button=3,modifiers=Meta+Button3,clickCount=1] on canvas0
      FAIL: Unexpected MouseEvents triggered. java.awt.event.MouseEvent[MOUSE_CLICKED,(5,5),absolute(1155,1001),button=3,modifiers=Meta+Button3,clickCount=1] on canvas0
      FAIL: Unexpected MouseEvents triggered. java.awt.event.MouseEvent[MOUSE_RELEASED,(1155,1001),absolute(1155,1001),button=3,modifiers=Meta+Button3,clickCount=1] on java.awt.TrayIcon@1aa57fb
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(5,5),absolute(1155,1001),clickCount=1] on canvas0
      FAIL: Unexpected MouseEvents triggered. java.awt.event.MouseEvent[MOUSE_CLICKED,(1155,1001),absolute(1155,1001),button=3,modifiers=Meta+Button3,clickCount=1] on java.awt.TrayIcon@1aa57fb
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(6,5),absolute(1156,1001),clickCount=1] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(7,5),absolute(1157,1001),clickCount=1] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(8,5),absolute(1158,1001),clickCount=1] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(9,5),absolute(1159,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(10,5),absolute(1160,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(11,5),absolute(1161,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(12,5),absolute(1162,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(13,5),absolute(1163,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(14,5),absolute(1164,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(15,5),absolute(1165,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(16,5),absolute(1166,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(17,5),absolute(1167,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(18,5),absolute(1168,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(19,5),absolute(1169,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(20,5),absolute(1170,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(21,5),absolute(1171,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(22,5),absolute(1172,1001),clickCount=0] on canvas0
      FAIL: MouseMotionEvent not triggered for icon java.awt.event.MouseEvent[MOUSE_MOVED,(23,5),absolute(1173,1001),clickCount=0] on canvas0
      FAIL: Unexpected MouseEvents triggered. java.awt.event.MouseEvent[MOUSE_EXITED,(24,5),absolute(1174,1001),button=0,clickCount=0] on canvas0
      FAIL: Unexpected MouseEvents triggered. java.awt.event.MouseEvent[MOUSE_EXITED,(1174,1001),absolute(1174,1001),button=0,clickCount=0] on java.awt.TrayIcon@1aa57fb
      Test failed!

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: