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

Click targets for each line of console output make it impossible to select subsets of text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Jenkins 2.7.4, Blue Ocean 1.0.0-b07

      Given shell step output as follows:

      Caught: com.mongodb.CommandResult$CommandFailure: command failed [command failed [mapreduce] { "errmsg" : "exception: new file allocation failure" , "code" : 12520 , "ok" : 0.0}
      com.mongodb.CommandResult$CommandFailure: command failed [command failed [mapreduce] { "errmsg" : "exception: new file allocation failure" , "code" : 12520 , "ok" : 0.0}
      at com.mongodb.CommandResult.getException(CommandResult.java:70)
      at com.mongodb.CommandResult.throwOnError(CommandResult.java:116)
      at com.mongodb.DBCollection.mapReduce(DBCollection.java:972)
      at com.mongodb.DBCollection.mapReduce(DBCollection.java:925)
      at com.gmongo.internal.Patcher._invoke(Patcher.groovy:49)
      at com.gmongo.internal.Patcher$_invoke$3.callStatic(Unknown Source)
      at com.gmongo.internal.Patcher$__patchInternal_closure1.doCall(Patcher.groovy:38)
      at parseUsage.process(parseUsage.groovy:120)
      at parseUsage$_run_closure2.doCall(parseUsage.groovy:54)
      at parseUsage.run(parseUsage.groovy:50)
      

      The fact that each line of text has a click target on it means that it's very difficult to select text for copy-and-paste and outright impossible to select partial lines of text.

      At least in Chrome, attempting to select "com.mongodb.CommandResult$CommandFailure" (for example) above, results in Chrome turning it into a link drag-and-drop, instead of a normal text highlight.

      Personally, I think it would be better to make the line number the click-target and leave the raw console output text alone

            Unassigned Unassigned
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: