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

Flash Player does not respond to Ctrl-C/X/V or Command-C/X/V

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • mx: TextArea
    • None
    • Affected OS(s): Mac
      Affected OS(s): Mac OS 10.6
      Browser: Safari
      Language Found: English

    Description

      Steps to reproduce:
      1. On the stage object add an event handler for Keybaord.KEY_DOWN
      2. Check if event.ctrlKey == true, if true trace(event.keyCode + " " + event.keyLocation + " " + event.charCode)
      3. Run the SWF and press Ctrl (or Command) X or C or V, then press Ctrl (or Command) B (something not caught by the browser)

      Actual Results:
      Ctrl (or Command, which ever depending on your OS) X C or V will give a keyCode of 4294967295, with a charCode of 0 and a keyLocation of 0
      Ctrl B will give keyCode 66, char code 90, key location 0 <-- this is okay, it at least reports something meaningful

      Expected Results:

      Ctrl (or Command) should give a meaningful keyCode, not a 32bit int overflow.

      Workaround (if any):
      None, tried to use ExternalInterface and javascript to handle Ctrl key downs, but flash player seemed to interfere with the browser receiving the event.

      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: