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

Blocked frame allows the textarea scrollbars to move, when blocked frame is moved in XAWT

XMLWordPrintable

    • sparc
    • solaris_10

        I have textarea which is having some text, when i select the selected & drag the mouse & release it on scrollbar. And when i clicking on the down arrow of the textarea. The text in the textarea are gets selected. The text in the textarea gets selected when the frame is move. This happens only in XToolkit.
        When a modal dialog is visible, it is suppose to block all the user actions on the parent i,e none of the components on the blocked frame should be active & no action should be triggered. But this fails, when the above scenario , is performed on the modal dialog the text in the textarea gets selected. Which gives the impression that blocked allow the text to be selected & allow the scrollbar to move.

         
        Step to reproduce:
        -------------------
        1) Run the attached program.
        2) Click on the "File" Menu & Select "Open" Menuitem.
        3) Select any file from the file dialog. The file should contain large data , so that you can see the scrollbar movement.
        4) Select some line from the top of the textarea & drag the mouse & release it on scrollbar.
        5) Clicking on the down arrow of the textarea. The text in the textarea are gets selected.
        or when the frame is move the text in the textarea gets selected.
        6) Repeat step 2, to invoke the filedialog. Now the frame gets blocked.
        7) Repeat step 5. Observe that text in the textarea gets selected & scrollbar moves.

        This happens in solaris 10 , I tested this in jdk6.0 & jdk7.0.

              volk Konstantin Voloshin (Inactive)
              lpremkumsunw Lawrence Premkumar1 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: