Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50375

Can't copy/paste stage logs because the selections get deselected after mouse button is released

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins:
      Core 2.11
      Pipeline: Stage View 2.9

      Client:
      Fedora Workstation 27
      Chrome 65.0.3325.181
      Firefox 59.0.1
    • Similar Issues:

      Description

      Summary:
      When viewing the logs for an individual stage in stage view (by clicking on that stage and selecting "Logs"), the user is not able to copy content from those logs into their clipboard, because the highlighted area gets deselected as soon as they release the mouse button.

      Steps to recreate:
      1. Create a very simple pipeline. Mine looks like:

      node {
          currentDirectory = pwd()
      
          stage ("thing") {
              sh "echo HERE IT IS ${currentDirectory}"
              echo "PWD is ${currentDirectory}"
          }
      }
      

      2. Run the pipeline.

      3. Click in the green "stage' area of any existing run, and click Logs:

      4. Pick an entry in the popover.

      5. Click and hold the left mouse button to select some text. That behaves normally.

      6. But the moment you release your mouse button, the "selection' disappears. Makes it very difficult to copy something into the clipboard for later use, like for a Google search.

      I can try to get a video captured if that would help.

        Attachments

          Activity

          Hide
          axqd Timothy You added a comment -

          +1 the same here and this could be quite helpful to be fixed

          Show
          axqd Timothy You added a comment - +1 the same here and this could be quite helpful to be fixed

            People

            • Assignee:
              svanoort Sam Van Oort
              Reporter:
              kshultz Karl Shultz
            • Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: