Mousewheel event

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Mousewheel event

Jonathan Wolfe
Hi,

I'm trying to get a mousewheel event working to change the selection of a qx.ui.form.SelectBox and I have it working in Chrome, but in Firefox v30.0 I can't seem to back out the direction. In Chrome, getWheelData is either positive or negative depending on the direction of the scroll where in Firefox it's always "0". Any suggestions?

Jonathan Wolfe Meteorologist
Charleston Pilot Project  

Charleston, WV National Weather Service
304-746-0190

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mousewheel event

Jonathan Wolfe
Here is an playground example of what I'm trying to do:  http://tinyurl.com/l6h3dou

Notice Firefox the value remains positive regardless of the mousewheel direction and Chrome it fluctuates between positive and negative. 


Jonathan Wolfe Meteorologist
Charleston Pilot Project  

Charleston, WV National Weather Service
304-746-0190


On Sat, Jun 14, 2014 at 7:47 PM, Jonathan Wolfe <[hidden email]> wrote:
Hi,

I'm trying to get a mousewheel event working to change the selection of a qx.ui.form.SelectBox and I have it working in Chrome, but in Firefox v30.0 I can't seem to back out the direction. In Chrome, getWheelData is either positive or negative depending on the direction of the scroll where in Firefox it's always "0". Any suggestions?

Jonathan Wolfe Meteorologist
Charleston Pilot Project  

Charleston, WV National Weather Service
<a href="tel:304-746-0190" value="+13047460190" target="_blank">304-746-0190


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mousewheel event

Daniel Wagner
Administrator
In reply to this post by Jonathan Wolfe
Hi,

looks like a bug with the wheel delta calculation in Firefox. I've
opened a report:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=8433

As a workaround, you could try checking the "roll" event's delta
property instead, that seems to work as expected:

this.getRoot().addListener("roll", function(e) {
  this.info(e.getDelta().y);
}, this);


Regards,
Daniel

On 15.06.2014 01:47, Jonathan Wolfe wrote:

> Hi,
>
> I'm trying to get a mousewheel event working to change the selection of
> a qx.ui.form.SelectBox and I have it working in Chrome, but in Firefox
> v30.0 I can't seem to back out the direction. In Chrome, getWheelData is
> either positive or negative depending on the direction of the scroll
> where in Firefox it's always "0". Any suggestions?
> *
> *
> *Jonathan Wolfe**|  Meteorologist
> Charleston Pilot Project   ***********
> *Charleston, WV **National Weather Service
> 304-746-0190*
> *preview.weather.gov/edd <http://preview.weather.gov/edd>
>
>
> *
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mousewheel event

Jonathan Wolfe
Thanks Daniel,
 
I'll give that a try :-)


Jonathan Wolfe Meteorologist
Charleston Pilot Project  

Charleston, WV National Weather Service
304-746-0190


On Tue, Jun 17, 2014 at 11:13 AM, Daniel Wagner <[hidden email]> wrote:
Hi,

looks like a bug with the wheel delta calculation in Firefox. I've
opened a report:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=8433

As a workaround, you could try checking the "roll" event's delta
property instead, that seems to work as expected:

this.getRoot().addListener("roll", function(e) {
  this.info(e.getDelta().y);
}, this);


Regards,
Daniel

On 15.06.2014 01:47, Jonathan Wolfe wrote:
> Hi,
>
> I'm trying to get a mousewheel event working to change the selection of
> a qx.ui.form.SelectBox and I have it working in Chrome, but in Firefox
> v30.0 I can't seem to back out the direction. In Chrome, getWheelData is
> either positive or negative depending on the direction of the scroll
> where in Firefox it's always "0". Any suggestions?
> *
> *
> *Jonathan Wolfe**|  Meteorologist
> Charleston Pilot Project   ***********
> *Charleston, WV **National Weather Service
> <a href="tel:304-746-0190" value="+13047460190">304-746-0190*
> *preview.weather.gov/edd <http://preview.weather.gov/edd>
>
>
> *
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel