You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2014/10/15 15:00:37 UTC
[jira] [Comment Edited] (FLEX-26478) Runtime error occured when a
TextInput's text mouse selection isn't finished yet but the TextInput
instance is removed
[ https://issues.apache.org/jira/browse/FLEX-26478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172293#comment-14172293 ]
Mihai Chira edited comment on FLEX-26478 at 10/15/14 1:00 PM:
--------------------------------------------------------------
I tried this (with pasting a lot of text, starting to drag it up, pressing ALT+TAB), and couldn't reproduce with SDK 4.13:
{code}
<?xml version="1.0"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
applicationDeactivate="rollOutHandler(event)">
<fx:Script><![CDATA[
import mx.events.AIREvent;
private function rollOutHandler(event:AIREvent):void
{
if(input.parent)
removeElement(input);
}
]]></fx:Script>
<s:TextArea id="input" width="200" height="200"/>
</s:WindowedApplication>
{code}
*Note*: I tried both TextInput and TextArea.
was (Author: evolverine):
I tried this (with pasting a lot of text, starting to drag it up, pressing ALT+TAB), and couldn't reproduce with SDK 4.13:
{code}
<?xml version="1.0"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
applicationDeactivate="rollOutHandler(event)">
<fx:Script><![CDATA[
import mx.events.AIREvent;
private function rollOutHandler(event:AIREvent):void
{
if(input.parent)
removeElement(input);
}
]]></fx:Script>
<s:TextArea id="input" width="200" height="200"/>
</s:WindowedApplication>
{code}
> Runtime error occured when a TextInput's text mouse selection isn't finished yet but the TextInput instance is removed
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FLEX-26478
> URL: https://issues.apache.org/jira/browse/FLEX-26478
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: TextInput
> Affects Versions: Adobe Flex SDK 4.1 (Release)
> Environment: Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1.Create AIR application with TextInput which is removed on application roll out event.
> 2.Run the application and enter some text in the TextInput
> 3.Select entered text by mouse, keep mouse button pressed down and leave application.
>
> Actual Results:
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::scrollTimerHandler()[C:\Vellum\branches\v1\1.1\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:1503]
> at flash.utils::Timer/_timerDispatch()
> at flash.utils::Timer/tick()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)