flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Chira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34340) NumericStepper still responds to mouse wheel after being removed from stage
Date Thu, 26 Jun 2014 15:48:24 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044777#comment-14044777

Mihai Chira commented on FLEX-34340:

Just replied to your comment on FLEX-34339. I personally think both tickets should be reopened.
I'm happy to extend the discussion to the mailing list, or to ask for another opinion. Of
course, you are in a position to veto that, and I will respect your decision.

> NumericStepper still responds to mouse wheel after being removed from stage
> ---------------------------------------------------------------------------
>                 Key: FLEX-34340
>                 URL: https://issues.apache.org/jira/browse/FLEX-34340
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: NumericStepper
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Mihai Chira
>         Attachments: _stepperStillRespondingToWheel.fxp
> *Steps to reproduce*:
> 0. Import and run the attached project.
> 1. Click on the numeric stepper.
> 2. Roll the mouse wheel. Notice label changing as expected.
> 3. Shift+Click on the numeric stepper and wait for it to be removed from stage.
> 4. Roll the mouse wheel. Notice label changing, although the component is not on stage
> 5. Wait 2 seconds for stepper to be 'dismantled'.
> 6. Roll the mouse wheel
> *Actual behaviour*: at step 4 the NumericStepper still reacts to mouse wheel events.
Also, at step 6, the RTE below is thrown.
> *Desired behaviour*: at step 4 the NumericStepper does not react to the mouse wheel anymore,
and at step 6 no error is thrown.
> *NOTE*: After step 4, rolling the mouse wheel after clicking anywhere on stage works
as expected.
> *RTE at step 6*:
> Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of
a null object reference.)	
> 	spark.components::NumericStepper/applyDisplayFormatFunction	
> 	spark.components::NumericStepper/setValue	
> 	spark.components::Spinner/system_mouseWheelHandler	
> 	_NumericStepper/system_mouseWheelHandler	
> 	flash.events::EventDispatcher/dispatchEventFunction [no source]	
> 	flash.events::EventDispatcher/dispatchEvent [no source]	
> 	mx.core::UIComponent/dispatchEvent	
> 	mx.managers::SystemManager/mouseEventHandler	

This message was sent by Atlassian JIRA

View raw message