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

Javadoc: Browser back navigation does not jump to previous position anymore

    XMLWordPrintable

Details

    • b07
    • x86_64
    • windows_10
    • Verified

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Tested browsers:
      - Firefox 78.0.1 (64-Bit)
      - Microsoft Edge Version 83.0.478.58 (Official build) (64-bit)

      A DESCRIPTION OF THE PROBLEM :
      In earlier versions of Javadoc (13 and lower) clicking on a fragment link in the documentation and then using the browser to navigate back in the history (clicking left arrow button next to address bar or in Firefox pressing backspace key) would scroll to the previous location.

      This is no longer the case for Javadoc 14 which is quite annoying. E.g. click on a link to the method documentation, then you want to go back to where you clicked the link and you have to scroll to that place manually (given that you still remember where exactly it was).

      REGRESSION : Last worked in version 13

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open Javadoc 13 (or lower): https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html
      2. Scroll to "Constructor Summary" and click on any of the constructor links
      3. Press the back navigation button of the browser (left arrow next to the address bar)
      As expected: It takes you to the previous location within the page

      1. Open Javadoc 14: https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/lang/String.html
      2. Scroll to "Constructor Summary" and click on any of the constructor links
      3. Press the back navigation button of the browser (left arrow next to the address bar)
      (x) Unexpected: Nothing happens


      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: