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

When using Groovy Postbuild's `manager.addShortText()` in Firefox, it will cause page misalignment in the build history list

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • Mac os monterey 12.3
      firefox version 100.0
      Jenkins version 2.332.3

      Using manager.addShortText($content) to show text in a build history list when the $content is long may cause page disorder , just like the photos attached.

       

      The timestamp could occupy a large blank and seems not aligned when using Firefox.

       

       

       

        1. safari_1.png
          safari_1.png
          259 kB
        2. firefox_1.jpg
          firefox_1.jpg
          141 kB
        3. plugin.png
          plugin.png
          70 kB
        4. viewpage.html
          65 kB
        5. new_1.png
          new_1.png
          84 kB
        6. image-2022-06-07-22-40-24-894.png
          image-2022-06-07-22-40-24-894.png
          149 kB
        7. image-2022-06-07-22-39-24-321.png
          image-2022-06-07-22-39-24-321.png
          146 kB
        8. image-2022-06-07-22-32-33-305.png
          image-2022-06-07-22-32-33-305.png
          85 kB
        9. image-2022-05-07-18-32-51-161.png
          image-2022-05-07-18-32-51-161.png
          137 kB
        10. on_safari.png
          on_safari.png
          127 kB

          [JENKINS-68427] When using Groovy Postbuild's `manager.addShortText()` in Firefox, it will cause page misalignment in the build history list

          C XY created issue -
          C XY made changes -
          Description Original: Using manager.addShortText($content) to show text in a build history list when the $content is long may cause page disorder , just like the photos attached.

           

          The timestamp could occupy a large blank and seems not aligned when using Firefox.

           

          !on_firefox.png|width=397,height=412!

           

          !image-2022-05-07-18-32-51-161.png|width=287,height=535!

           

           

          !on_safari.png|width=397,height=412!
          New: Using manager.addShortText($content) to show text in a build history list when the $content is long may cause page disorder , just like the photos attached.

           

          The timestamp could occupy a large blank and seems not aligned when using Firefox.

           

          !image-2022-05-07-18-32-51-161.png|width=287,height=535!

           

           

          !on_safari.png|width=397,height=412!
          Tim Jacomb made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: _unsorted [ 19622 ]
          Tim Jacomb made changes -
          Labels New: ux-untriaged
          frankie699 made changes -
          Assignee New: frankie699 [ frankie699 ]
          Daniel Beck made changes -
          Summary Original: When using the groovy code manager.addShortText() in firefox, it will cause page misalignment in the build history list. New: When using Groovy Postbuild's `manager.addShortText()` in Firefox, it will cause page misalignment in the build history list
          Adrien Lecharpentier made changes -
          Labels Original: ux-untriaged New: regression ux ux-untriaged

          I tried to reproduce the problem with

          manager.addShortText("this is a very very very long text")
          

          using Groovy PostBuild plugin on a freestyle project. I tried in 2.332.2 without success.

          Would you have a easy reproducible test to offer? This would make finding the root cause easier and make sure we fox correctly the problem. Thank you bignnonster.

          Adrien Lecharpentier added a comment - I tried to reproduce the problem with manager.addShortText("this is a very very very long text") using Groovy PostBuild plugin on a freestyle project. I tried in 2.332.2 without success. Would you have a easy reproducible test to offer? This would make finding the root cause easier and make sure we fox correctly the problem. Thank you bignnonster .
          C XY made changes -
          Attachment New: image-2022-06-07-22-32-33-305.png [ 58150 ]

          C XY added a comment - - edited

          Thanks for your attention.

          I tried with your text and it happened again.

          I tried to scale the horizontal size of the window , and I could see some variations from the normal to the abnormal, as the follow screenshots.

           

           

          Hope those helpful for you,alecharp 

          C XY added a comment - - edited Thanks for your attention. I tried with your text and it happened again. I tried to scale the horizontal size of the window , and I could see some variations from the normal to the abnormal, as the follow screenshots.     Hope those helpful for you, alecharp  

            janfaracik Jan Faracik
            bignnonster C XY
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: