United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6920842 Wheel events do not bubbling to the browser if they was not treated in applet.
JDK-6920842 : Wheel events do not bubbling to the browser if they was not treated in applet.

Details
Type:
Bug
Submit Date:
2010-01-28
Status:
Resolved
Updated Date:
2011-01-19
Project Name:
JDK
Resolved Date:
2010-04-28
Component:
client-libs
OS:
windows
Sub-Component:
java.awt
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u19-rev
Fixed Versions:

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

Description
Wheel events do not bubbling to the browser if they was not treated in applet. The effect is visible for applets that don't contain the scrollable controls inside.

                                    

Comments
EVALUATION

The research results:
1. The issue cannot be resolved under the FF on AWT level: FF plugin window eats the WM_MOUSEWHEEL event and blocks wheel event bubbling to browser. The workaround is available from FF team (bugfix - that is a bug) or by hack on deploy level.
2. The problem resolved for IE8, Chrome (was not tested with Safari, but it should work).
3. Due to incorrect treatment of MouseWheelEvent (there is not "consume" function call on action event) the scroll is doubling in applet and on the page (the same effect was in early Flash versions) in presence of  "JScrollPane". The Swing problems are easy-to-fix.
                                     
2010-01-28
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/awt_data/7/6920842/
                                     
2010-08-26



Hardware and Software, Engineered to Work Together