JDK-4786832 : ScrollbarMouseWheelTest.html Failing on Win
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0,1.4.2,5.0,6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS:
    linux_sun,windows_nt,windows_2000,windows_xp linux_sun,windows_nt,windows_2000,windows_xp
  • CPU: generic,x86
  • Submitted: 2002-12-02
  • Updated: 2006-10-20
  • Resolved: 2006-10-20
Related Reports
Duplicate :  
Duplicate :  
Description
Regression test
java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.html fails on Win2K and WinXP(64 bit) for Mantis build 08.

================================================================================

----------System.out:(7/128)----------
Test Failed:
	sb1upevents =5
	sb2upevents = 0
	pnlupevents = 10
	sb1downevents =5
	sb2downevents = 0
	pnldownevents = 10
----------System.err:(5/326)----------
java.lang.RuntimeException: Test FAILED.
	at ScrollbarMouseWheelTest.start(ScrollbarMouseWheelTest.java:165)
	at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
	at java.lang.Thread.run(Thread.java:536)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test FAILED.
result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Test FAILED.

================================================================================

It also failed on Windows XP (AMD) and Windows 2003 (AMD) against Mustang b20 and b21.
###@###.### 2005-2-03 23:04:40 GMT

Comments
EVALUATION The test fails because sb2 (that doesn't have a MouseWheelListener) is propagatingwheel event to parent - panel. This is what already covered in 4616935.
20-10-2006

EVALUATION The test seem fails due to a bug with MouseWheelEvent : 4616935 that propagated into parent as well as a Component itself. It doesn't happen on Linux (both XAWT and Motif)
18-05-2006

EVALUATION This test fails in the same way on Win2k with 1.4, 1.4.1, and 1.4.2b08, so this is not a new regression in Mantis. It is a bug, however - MouseWheelEvents delivered to a Scrollbar are also being propagated to the parent Panel, which should not happen in this case. Possibly, but not necessarily, related to 4487750. ###@###.### 2002-12-02
02-12-2002