• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • Build for 2.0 PR 2182 with #4603

      Steps to reproduce:

      • Install recommended plugins
      • Create a freestyle job named 'foo'
      • radiobutton 'Git'
      • Click 'Advanced…' to show Advanced Project Options
      • Check 'This build is parameterized'
      • Add two boolean parameters (no need to specify name or anything)
      • Check 'Retry Count'

      Expected result: Retry Count gets checked
      Actual result: It does get checked, but the page scrolls down.

          [JENKINS-33891] Unexpected scrolling on job configuration page

          Daniel Beck created issue -
          Daniel Beck made changes -
          Epic Link New: JENKINS-33810 [ 169285 ]
          gus reiber made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          gus reiber added a comment -

          So far cannot reproduce with OSX Chrome Version 49.0.2623.87 (64-bit)

          gus reiber added a comment - So far cannot reproduce with OSX Chrome Version 49.0.2623.87 (64-bit)

          gus reiber added a comment -

          Can reproduce in Firefox... checking against 2.0 source branch.

          gus reiber added a comment - Can reproduce in Firefox... checking against 2.0 source branch.

          gus reiber added a comment -

          bug is present in 2.0 as well.... digging around.

          gus reiber added a comment - bug is present in 2.0 as well.... digging around.

          gus reiber added a comment -

          http://jenkins.beedemo.net/api-team/job/sandbox/job/hello/configure

          This behavior exists in v1. The above steps can be done against the beedemo URL to get the same jumping behavior with FF.

          scrollIntoView at ln 1367 of hudson-behavior.js does not correctly calculate the page size after things have been opened, and thus scrolls the window to the wrong spot. The easy fix is just to remove this behavior. Perhaps a better fix would be to fix the math, but I am not convinced that really is the right behavior and I am not sure how best to jump through those hoops, in prototpye.js with who knows how many page shape changing events may happen on the page.

          gus reiber added a comment - http://jenkins.beedemo.net/api-team/job/sandbox/job/hello/configure This behavior exists in v1. The above steps can be done against the beedemo URL to get the same jumping behavior with FF. scrollIntoView at ln 1367 of hudson-behavior.js does not correctly calculate the page size after things have been opened, and thus scrolls the window to the wrong spot. The easy fix is just to remove this behavior. Perhaps a better fix would be to fix the math, but I am not convinced that really is the right behavior and I am not sure how best to jump through those hoops, in prototpye.js with who knows how many page shape changing events may happen on the page.

          gus reiber added a comment -

          https://github.com/jenkinsci/jenkins/pull/2193

          I have offered a PR that fixes the issue specifically for v2, as I am not sure if it doesn't mostly work enough in v1 that people like it, despite being broken in some cases. I don't think it is worth fixing, but others might think so. danielbeck, do as you will....

          gus reiber added a comment - https://github.com/jenkinsci/jenkins/pull/2193 I have offered a PR that fixes the issue specifically for v2, as I am not sure if it doesn't mostly work enough in v1 that people like it, despite being broken in some cases. I don't think it is worth fixing, but others might think so. danielbeck , do as you will....

          Daniel Beck added a comment -

          gusreiber It's not useful to link to private Jenkins instances. Not even I know how to access that one (and for the purposes of this issue tracker, I don't want to know).

          Daniel Beck added a comment - gusreiber It's not useful to link to private Jenkins instances. Not even I know how to access that one (and for the purposes of this issue tracker, I don't want to know).
          Daniel Beck made changes -
          Priority Original: Blocker [ 1 ] New: Critical [ 2 ]

            gusreiber gus reiber
            danielbeck Daniel Beck
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: