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

PIT: Frame comps do not gain focus when clicking tray icon and clicking back the frame, XToolkit

    Details

    • Subcomponent:
    • Resolved In Build:
      b47
    • CPU:
      sparc
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      I am adding a tray icon to the notification area from a java app. The same app also shows a frame on the screen. Frame contains a textarea and a button. Once the icon is added to the notification area, I am clicking on the icon. The frame gets de-activated and loses focus. When I click back the textarea or the frame itself, the components do not respond to the keyevents. Basically the frame is not activated. I had to iconify and restore the frame in order to make it activated.

      First of all, I am not sure whether it is a correct behavior that the frame gets de-activated when clicking the tray icon. This is noticed on SolarisSparc10-JDS as well as Linux AS3.0 - GNOME.

      Here is the PIT build:
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-dm97671_11_May_2005_10_32-b00)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b35, mixed mode)

      I have attached a sample test. Execute the sample test. You would see a tray icon added to the notification area and a frame. Click on the tray icon. Frame will be de-activated. Click back the textarea on the frame. If textarea does not gain focus, the bug is reproduced.
      ###@###.### 2005-05-12 10:51:20 GMT

      I tried this with the PIT build dated 17.Jun.2005 and the textarea gains focus properly. So looks like this bug is fixed. But still I am not sure whether it is a right behavior that the frame gets de-activated and loses focus when I click the tray icon.

      ###@###.### 2005-07-06 10:14:17 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                art Artem Ananiev
                Reporter:
                pmohansunw Praveen Mohan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: