You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2016/11/06 23:47:58 UTC
[jira] [Commented] (FLEX-35139) mx:NumericStepper copy paste issue
[ https://issues.apache.org/jira/browse/FLEX-35139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15642642#comment-15642642 ]
Justin Mclean commented on FLEX-35139:
--------------------------------------
Probably not a bug.
When pasting into the second numeric stepper are in insert mode this will insert text. If you do Ctrl+A, Ctrl+C, TAB the field will be selected and then when you do Ctrl+V it will replace the value.
You can type nonsense into a numeric stepper like "0.1.2.3,4.5.6" which will be corrected to "0.1" when the control looses focus.
> mx:NumericStepper copy paste issue
> ----------------------------------
>
> Key: FLEX-35139
> URL: https://issues.apache.org/jira/browse/FLEX-35139
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: NumericStepper
> Affects Versions: Apache Flex 4.15.0
> Environment: Project AIR 20.0 under Windows platform
> Reporter: Giuseppe Rusciano
> Labels: easytest
>
> I have two mx:NumericStepper in my project. I try to copy and past a value as 0.4 from the first numeric stepper into the second.
> Graphically, before focus out fix all, I have this behaviour, in the second numeric stepper I have 00.40.4
> Steps to Reproduce:
> I've created this AIR project:
> <?xml version="1.0" encoding="utf-8"?>
> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx">
> <mx:HBox width="100%">
> <mx:NumericStepper id="myNS1" stepSize=".01" width="100"/>
> <mx:NumericStepper id="myNS2" stepSize=".01" width="100"/>
> </mx:HBox>
> </s:WindowedApplication>
> When the project starts:
> 1. I'm writing in the first numeric stepper the value 0.4
> 2. I'm pressing CTRL+A to select all and CTRL + C to copy the value 0.4
> 3. I'm focusing on the second numeric stepper and I'm pressing CTRL + V to paste the value at step 2.
> 4. The graphical output is 00.40.4
> 5. If I'm focusing out from the second numeric stepper, the result becomes 0.4 (correctly)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)