Not sure if this is a bug or desired behavior(see screenshot).
When I add groovy script as a build step I can't add anything to it, because text field is too small. Of course I can easily make it bigger and write some code there, but in my opinion input field should not be so small by default.
Clearly a bug. Also, after resize, the gutter (where the line numbers are) is broken until something is typed.
Daniel Beck added a comment - 2014-11-05 16:42 Clearly a bug. Also, after resize, the gutter (where the line numbers are) is broken until something is typed.
radiobox makes this element invisible and when CodeMirror computes height of the element it's zero (as element is not visible). Also gutter gets somehow broken during making it invisible and visible process. IMHO proper fix is PR #1460, however, to fix it soon (and for older Jenkins core version), I decided to pre-select StringScriptSource by default when adding new step and thus make it visible at the beginning.
vjuranek added a comment - 2014-11-08 19:02 radiobox makes this element invisible and when CodeMirror computes height of the element it's zero (as element is not visible). Also gutter gets somehow broken during making it invisible and visible process. IMHO proper fix is PR #1460 , however, to fix it soon (and for older Jenkins core version), I decided to pre-select StringScriptSource by default when adding new step and thus make it visible at the beginning.