Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275889

Search dialog has redundant scrollbars

XMLWordPrintable

    • b25
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      - Firefox 93.0 (64-Bit)
      - Microsoft Edge Version 94.0.992.50 (Official build) (64-bit)

      A DESCRIPTION OF THE PROBLEM :
      The Javadoc search dialog in the top right corner has redundant scrollbars. It appears it always has a redundant horizontal scrollbar regardless of how wide the results are.
      Additionally when hovering over the last result a redundant vertical scrollbar is shown.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open https://docs.oracle.com/en/java/javase/17/docs/api/index.html
      2. Search for "ProcessBuilder"
        Note the redundant horizontal scrollbar
      3. Hover over the last search result ("ProcessBuilder(String...)")
        Note that now additionally a redundant vertical scrollbar is shown


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Scrollbars are only shown when necessary.
      Additionally because the size of the search dialog is automatically set to fit the results (unless they are too large), in some cases the scrollbars could be completely hidden (instead of just being disabled).
      ACTUAL -
      Redundant scrollbars are shown.

        1. image1.png
          image1.png
          34 kB
        2. image2.png
          image2.png
          33 kB

            hannesw Hannes Wallnoefer
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: