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

"script textarea" quite annoying on Safari

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Environment:
      Safari 6.0.3, MacOSX 10.8.3
      Also: Safari 10.0.3, macOS 10.12.3
    • Similar Issues:

      Description

      The "script textarea" (the one with the line numbers, as for example used in the Script Console and the scriptler plugin) has several annoying quirks (at least on Safari, didn't try on other browsers):

      • doubleclick 'n drag to select multiple words does not work
      • tripleclick 'n drag to select multiple lines does not work
      • it insists on autoindenting lines by 2 characters, when you press return, even if it makes no sense at all
      • it jumps around on every key press and mouse click (making it impossible to use the mouse at all), when you have a long line somewhere in the file, that is not currently visible.

      It is usually easier to copy the text into an external editor, and paste it back after editing, than using this control.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Cannot reproduce (except the first one) using the script console textarea in Safari 9.1 on Jenkins 2.46.

          Show
          danielbeck Daniel Beck added a comment - Cannot reproduce (except the first one) using the script console textarea in Safari 9.1 on Jenkins 2.46.
          Hide
          drulli Ulli Hafner added a comment -

          Daniel Beck I can confirm the last one: actually, with Safari you cannot change any Pipeline script. The cursor position never matches the mouse click, this is very annoying making it almost impossible to use Safari for pipelines.

          Show
          drulli Ulli Hafner added a comment - Daniel Beck I can confirm the last one: actually, with Safari you cannot change any Pipeline script. The cursor position never matches the mouse click, this is very annoying making it almost impossible to use Safari for pipelines.
          Hide
          marc_guenther Marc Günther added a comment -

          Unfortunately I cannot reproduce any of it anymore.I do not have access to the systems anymore where I have seen these symptoms, so I just tried on a fresh install of Jenkins 2.78 with Safari 10.1.2 on MacOS 10.12.6, and everything is looking fine. Double/Triple click'n drag works, and indentation looks also very different from what I remember.

          Cannot even reproduce what Ulli just wrote...

          Show
          marc_guenther Marc Günther added a comment - Unfortunately I cannot reproduce any of it anymore.I do not have access to the systems anymore where I have seen these symptoms, so I just tried on a fresh install of Jenkins 2.78 with Safari 10.1.2 on MacOS 10.12.6, and everything is looking fine. Double/Triple click'n drag works, and indentation looks also very different from what I remember. Cannot even reproduce what Ulli just wrote...
          Hide
          drulli Ulli Hafner added a comment - - edited

          I added a screencast that shows the problem. Safari Version 11.0 (12604.1.38.1.7), macOS 10.12.6 (16G29), Jenkins 2.73.1.

          Show
          drulli Ulli Hafner added a comment - - edited I added a screencast that shows the problem. Safari Version 11.0 (12604.1.38.1.7), macOS 10.12.6 (16G29), Jenkins 2.73.1.

            People

            • Assignee:
              Unassigned
              Reporter:
              marc_guenther Marc Günther
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: