JDK-6530307 : painting is not happening properly on textarea scrollbar or incorrect textarea scrollbar
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2007-03-02
  • Updated: 2011-01-19
  • Resolved: 2007-07-03
Related Reports
Relates :  
Description
I have a frame, which has a textarea & a textfield. Type some characters into the textarea,so that vertical & horizontal scrollbar tumb move (see attached scren shot file TextAreaScrollbar1.PNG). Drag on the vertical scrollbar tumb & releasee the mouse on the vertical & horizontal scrollbar intersection point . Now when the frame is resized, the vertical scrollbar is incorrect(see attached scren shot file TextAreaScrollbar2.PNG). 

Step to reproduce:
-----------------
1) Run the attached program.
2) Type some characters into the textarea,so that vertical & horizontal scrollbar tumb move.
3) Drag on the vertical scrollbar tumb & releasee the mouse on the vertical & horizontal scrollbar intersection point4) Move the mouse to the right side bottom of the frame.  You will the resize mouse cursor. now resize the frame. If you observe that scrollbar is incorrect , then the bug is reproduce.
This works fine in  mustang b90, but fails from b92 onwards.

Comments
EVALUATION The issue disappeared after the patch for CR 6497109. Closing this as not reproducible since JDK7b14.
03-07-2007

EVALUATION It seems that the fix for 6429174 should be corrected to include retargeting of mouse event from outside of the text area.
02-03-2007