Can we make the search results links?

David Alayachew davidalayachew at gmail.com
Sun Aug 10 00:49:19 UTC 2025


Hello @javadoc-dev at openjdk.org <javadoc-dev at openjdk.org>,

I am the original submitter of the following feature enhancement --
https://bugs.openjdk.org/browse/JDK-8284499.

Long story short, the feature enhancement is asking for the ability to open
Javadoc search results in a new tab. Preferably through Ctrl+Click and/or
Right-Click-Context-Menu.

I was looking at the source code for it, and I realized that we could
achieve an 80/20 solution regarding my linked feature enhancement, simply
by making the search results on the Javadoc search page links. As in,
literal <a href> links.

- A link is Ctrl+clickable
- A link has the right click context menu, allowing you to make a new tab

It looks like the only code that would need to change besides making them
links is making sure Ctrl+Click does not clash with the onclick behaviour.
But that should be super trivial to implement.

Anyways, I wanted to hear opinions on it. Does the feature enhancement
itself makes sense? And if so, would it be feasible/realistic to handle it
with my idea above?

Thank you for your time.
David Alayachew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/javadoc-dev/attachments/20250809/c1855a93/attachment-0001.htm>


More information about the javadoc-dev mailing list