Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20210

[AIR] Under Windows platform and Korean IME, correct value of InvokeEvent.reason is not passed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK Previous
    • None
    • Events
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: Korean

    Description

      Steps to reproduce:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="298" applicationComplete="appcomp(event);" invoke="oninvoke(event);">
      <mx:Script>
      <![CDATA[

      private function appcomp(event:Event):void

      { s_check.selected = this.nativeApplication.startAtLogin; s_text.text += "nativeApplication.startAtLogin : "+this.nativeApplication.startAtLogin+"\r"; }

      private function oninvoke(event:InvokeEvent):void

      { s_text.text += "invokeEvent.reason :"+event.reason+"\r"; }

      ]]
      >
      </mx:Script>
      <mx:TextArea x="10" y="42" width="276" height="274" id="s_text"/>
      <mx:CheckBox x="10" y="10" label="auto login" fontSize="12" id="s_check" change="this.nativeApplication.startAtLogin = !this.nativeApplication.startAtLogin;s_text.text = 'nativeApplication.startAtLogin : '+this.nativeApplication.startAtLogin'\r';"/>
      </mx:WindowedApplication>

      Actual Results:
      When we use Korean IME under Windows platform, InvokeEvent.reason event, newly added on AIR 1.5.1, has different value from the correct one.
      (login -> standard, standard -> standard)
      Yet the event is catched properly when we switch to English IME.

      Expected Results:
      If this issue is addressed, we are sure that, many applications could be developed using this InvokeEvent.

      Workaround (if any):
      Windows Platform and Korean IME

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: