clipboard.setContents slow on every other try

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 1.1.1
    • Component/s: client-libs
    • x86
    • windows_95



      Name: sgC58550 Date: 06/18/97


      I wrote a simple text copy and paste manager based on the AWT's
      example code:

      if (cmd.equals("Copy"))
      {
      // Implement Copy operation
      String srcData = textCanvas.copy(false);
      if (srcData != null)
      {
      StringSelection contents = new StringSelection(srcData);
                      clipboard.setContents(contents, this);
      }
      }
      else ...

      The code works, but it follows a very regular pattern: On every
      other try the setContents operation takes about 4 seconds (on a
      133MHz Pentium w/ 32M running W95).

      The delay seems excessive.
      company - Newport Software Development , email - ###@###.###
      ======================================================================

            Assignee:
            Unassigned
            Reporter:
            Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: