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

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

XMLWordPrintable

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

        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

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

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

                Created:
                Updated:
                Resolved: