Done. I also added that this enhancement allows you to "copy link" on some browsers, which is very convenient too. ________________________________ From: javadoc-dev <[email protected]> on behalf of David Alayachew <[email protected]> Sent: Monday, August 18, 2025 3:50 PM To: Hannes Wallnoefer <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: Can we make the search results links?
Also, could you (or anyone else) link this discussion to the ticket? That way it's clear the sequence of events. On Mon, Aug 18, 2025, 11:16 AM David Alayachew <[email protected]<mailto:[email protected]>> wrote: Ty vm! Can't wait for it to go live to test. I often open many individual results from the search bar, so this feature will be very helpful for that. On Mon, Aug 18, 2025, 9:46 AM Hannes Wallnoefer <[email protected]<mailto:[email protected]>> wrote: Hello David, I looked into the issue. Your suggestion makes a lot of sense, and it looks like the simple solution you propose would indeed work. I’ve assigned the issue to myself and targeted it to JDK 26. Thanks for the reminder, and sorry for letting the request linger for such a long time! Hannes On 10.08.2025, at 02:49, David Alayachew <[email protected]<mailto:[email protected]>> wrote: Hello @[email protected]<mailto:[email protected]>, 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
