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

Help-buttons are not working when they are at the top of draggable div

    • 2.283 released Mar 9, 2021, 2.277.2 released Apr 7, 2021

      The help-buttons don't work as expect when they are at the top of the draggable div, such as "Execute Shell" in a job's config page.

      When users click the help-button, it will only triggers the drag event to drag the div instead of click event to open the help section.

      See attachment.

          [JENKINS-64972] Help-buttons are not working when they are at the top of draggable div

          Mark Waite added a comment - - edited

          Confirmed that I see this same issue on Jenkins 2.277.1 release candidate in one case and cannot see it in another case. I don't yet understand the difference in the two cases.

          I see it consistently when I add the additional behavior "Clean before checkout" to the git plugin configuration in the Pipeline Syntax snippet generator. The "Clean before checkout" extension has help and includes a help icon, but when I click the help icon, the text does not appear.

          The same happens for "Clean after checkout".

          When I add the additional behavior "Advanced clone behaviours", the first help icon in that extension expands and contracts as expected when I click the '?' iccon.

          I also confirmed that Jenkins 2.263.4 does not have the problem. This appears to be a regression between 2.263.4 and 2.277.1-rc

          Mark Waite added a comment - - edited Confirmed that I see this same issue on Jenkins 2.277.1 release candidate in one case and cannot see it in another case. I don't yet understand the difference in the two cases. I see it consistently when I add the additional behavior "Clean before checkout" to the git plugin configuration in the Pipeline Syntax snippet generator. The "Clean before checkout" extension has help and includes a help icon, but when I click the help icon, the text does not appear. The same happens for "Clean after checkout". When I add the additional behavior "Advanced clone behaviours", the first help icon in that extension expands and contracts as expected when I click the '?' iccon. I also confirmed that Jenkins 2.263.4 does not have the problem. This appears to be a regression between 2.263.4 and 2.277.1-rc

          Benny Cheng added a comment -

          The 2.263.4 version still use <table> to show the UI, thus there's no problem with it.

          Benny Cheng added a comment - The 2.263.4 version still use <table> to show the UI, thus there's no problem with it.

          Oleg Nenashev added a comment -

          https://github.com/jenkinsci/jenkins/pull/5316 with the fix.+1 for making it an LTS candidate though it is likely too late for 2.277.1

          Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/5316  with the fix.+1 for making it an LTS candidate though it is likely too late for 2.277.1

            benebsiny Benny Cheng
            benebsiny Benny Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: