| Issue 2902: | MouseWheelListener not working properly in Firefox 3 | |
| 9 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Found in GWT Release: 1.5.1 Detailed description: I have extended FocusPanel in which added a textbox. on the focuspanel added MouseWheelListener; which increment/decrement textbox value on mousewheel motion. It is working fine in IE and FF2; But I Tried same code in FF3; its not behaving similary. text value incremented by more than one on mousewheel move. attached a sample code for reproducing this issue Workaround if you have one: No. Links to the relevant GWT Developer Forum posts: |
||||||||||
,
Sep 21, 2008
It's misbehaving only when I move mouse wheel while focus(mouse pointer) is on textbox value. if I Move mouse wheel while mouse pointer is somewhat away from the textbox value its working as expected. Really Strange. |
|||||||||||
,
Sep 23, 2008
This may be a quirk of FF3's text input implementation. Can you try getting scrollwheel events in plain HTML on FF3 to see if it refuses to send them over text inputs? If it fails in that case, then it's probably beyond GWT's ability to do anything about it.
Status: NeedsInfo
Owner: j...@google.com Labels: Category-UI Type-Defect |
|||||||||||
,
Sep 24, 2008
I have tried scrollwheel event on plain HTML, through Javascript increment/decrement the text input value, its working fine in FF3. find attached HTML which has JS function to capture mousewheel event on "Window". and update value in textbox on mousewheel motion Mousewheel listener is working fine in plain HTML in FF3. Thanks. |
|||||||||||
,
Oct 01, 2008
Hi all, is there any more inputs required for this issue? |
|||||||||||
,
Jan 05, 2009
(No comment was entered for this change.)
Status: New
Owner: e...@google.com |
|||||||||||
,
Jan 05, 2009
(No comment was entered for this change.)
Status: Accepted
|
|||||||||||
,
Mar 12, 2009
Modified the test.html code initialization section to read
/* Initialization code. */
if (document.documentElement.addEventListener)
document.documentElement.addEventListener('DOMMouseScroll', wheel, false);
document.documentElement.onmousewheel = wheel;
//-->
</SCRIPT>
and the value in the <INPUT type="text" ...> seems to increment/decrement on
mouse wheel scrolls in IE6, Chrome1, and FF3.0.5, when the mouse is over the
page or over the <INPUT> element.
|
|||||||||||
,
Apr 17, 2009
(No comment was entered for this change.)
Owner: j...@google.com
Labels: Milestone-1_6_1 |
|||||||||||
,
Apr 29, 2009
Comment from gwt-contrib (ales.havlik@gmail.com):
Even the MouseWheelListener is broken in GWT 1.6.4.
Example:
public class TestEntryPoint implements EntryPoint {
MouseWheelListener mwl = new MouseWheelListener() {
public void onMouseWheel(Widget sender, MouseWheelVelocity velocity) {
Window.alert("Mouse Wheel Listener");
}
};
public void onModuleLoad() {
final Label label = new Label("Mouse Wheel Tester");
final FocusPanel fp = new FocusPanel();
fp.setSize("100%", "100%");
fp.addMouseWheelListener(mwl);
fp.add(label);
RootPanel.get().add(fp);
}
}
Tested with:
Safari 3.2.2 (Win)
FF 3.0.9 (Win)
IE 7 (Win)
Chrome 2.0.172.8 (Win)
When compiled with GWT 1.5.3 it works in all browsers. With GWT 1.6.4 it works in all except FF - the same situation is when I
use MouseWheelHandler instead MouseWheelListener.
|
|||||||||||
,
May 15, 2009
Turns out this got inadvertently broken by 1.6's event type map. Review: http://gwt-code-reviews.appspot.com/33820
Status: ReviewPending
|
|||||||||||
,
May 15, 2009
Committed as r5396.
Status: FixedNotReleased
|
|||||||||||
,
May 15, 2009
Whoops, wrong window. Too many tabs open...
Status: ReviewPending
|
|||||||||||
,
May 15, 2009
Fix committed as r5398.
Status: FixedNotReleased
|
|||||||||||
,
May 28, 2009
Hi! Thanks for this fix. I've tested it on FF3 (linux), IE7(XP) ans Safari(XP) and it works. However it still doesn't seem to work in Hosted Mode (linux) :-/ Am I missing something ? |
|||||||||||
,
May 29, 2009
Unfortunately, the old version of Mozilla embedded by the Linux hosted-mode browser doesn't support the mouse wheel very well at all. IIRC, it works to scroll the document body, but no other elements. The only solution I'm aware of is to use the nascent out-of-process hosted mode implementation that exists in trunk against FF3 on Linux. It requires a bit of care and feeding at the moment, but is reasonably stable. |
|||||||||||
,
Jun 11, 2009
Issue 3539 has been merged into this issue. |
|||||||||||
,
Jul 29, 2009
This was released with GWT 1.7. We still need to come back and mark these issues fixed. |
|||||||||||
,
Jul 29, 2009
(No comment was entered for this change.)
Labels: Milestone-1_7
|
|||||||||||
,
Aug 03, 2009
(No comment was entered for this change.)
Status: Fixed
|
|||||||||||
|
|
|||||||||||