The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The List, Choice, and FileDialog Components do not scroll from the mouse wheel as they should. This is with XAWT only. Tested on RedHat 9.0.
Comments
CONVERTED DATA
BugTraq+ Release Management Values
COMMIT TO FIX:
tiger
FIXED IN:
tiger
INTEGRATED IN:
tiger
tiger-b16
14-06-2004
SUGGESTED FIX
------- XChoicePeer.java -------
*** /tmp/sccs.Q8aWkB Wed Aug 6 15:07:04 2003
--- XChoicePeer.java Wed Aug 6 14:50:56 2003
***************
*** 146,154 ****
case MouseEvent.MOUSE_CLICKED:
case MouseEvent.MOUSE_PRESSED:
case MouseEvent.MOUSE_RELEASED:
- case MouseEvent.MOUSE_WHEEL:
handleJavaMouseEvent((MouseEvent)event);
break;
case MouseEvent.MOUSE_DRAGGED:// FIXME: MOUSE_MOVED are sent
case MouseEvent.MOUSE_MOVED: // if the cursor is outside the
if (unfurledChoice.isMouseEventInside((MouseEvent)event)) {
--- 146,156 ----
case MouseEvent.MOUSE_CLICKED:
case MouseEvent.MOUSE_PRESSED:
case MouseEvent.MOUSE_RELEASED:
handleJavaMouseEvent((MouseEvent)event);
break;
+ case MouseEvent.MOUSE_WHEEL:
+ handleJavaMouseWheelEvent((MouseWheelEvent)event);
+ break;
case MouseEvent.MOUSE_DRAGGED:// FIXME: MOUSE_MOVED are sent
case MouseEvent.MOUSE_MOVED: // if the cursor is outside the
if (unfurledChoice.isMouseEventInside((MouseEvent)event)) {
***************
*** 285,295 ****
if (unfurled && helper.isVSBVisible()) {
if (ListHelper.doWheelScroll(helper.getVSB(), null, e)) {
repaint();
- // FIXME: *bugid* if wheel only scrolls by a single click,
- // there is a visible delay between the mouse wheel movement
- // and the scrollbar thumb repainting. Sync()ing seems to
- // help the problem, but may not be the best solution.
- //Toolkit.getDefaultToolkit().sync();
}
}
}
--- 287,292 ----
------- XListPeer.java -------
*** /tmp/sccs.R8aWkB Wed Aug 6 15:07:04 2003
--- XListPeer.java Wed Aug 6 14:53:59 2003
***************
*** 521,528 ****
void handleJavaMouseWheelEvent(MouseWheelEvent e) {
if (ListHelper.doWheelScroll(vsbVis ? vsb : null,
hsbVis ? hsb : null, e)) {
! // we'll get the paint through notifyValue
! // repaint();
}
}
--- 521,527 ----
void handleJavaMouseWheelEvent(MouseWheelEvent e) {
if (ListHelper.doWheelScroll(vsbVis ? vsb : null,
hsbVis ? hsb : null, e)) {
! repaint();
}
}
11-06-2004
EVALUATION
Commit to tiger
###@###.### 2003-07-30
XChoicePeer isn't calling handleJavaMouseWheelEvent().
XListPeer was working, it just wasn't being repainted.
###@###.### 2003-08-06