Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8172561

Copying String with "\r\n" to Clipboard duplicates "\r"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 8, 9
    • javafx

    Backports

      Description

        Copying text with "\r\n" to the clipboard and retrieving it outside of this very instance (eg in 2nd launch application, native application like notepad++) has duplicated the "\r" entry.

        Steps to reproduce:
        * Launch application
        * Hit copy button
        * Hit paste button
        * EVERYTHING OK
        * Now launch the application a second time
        * Hit paste

        Observation:
        * the string size has been increased by 1 char

        Attachments

          1. Main.java
            2 kB
          2. Main.java
            2 kB
          3. patch-8172561.patch
            0.7 kB
          4. Test.java
            0.4 kB

          Issue Links

            Activity

              People

                ddhill David Hill (Inactive)
                tschindl Tom Schindl
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: