Can we make the search results links?
David Alayachew
davidalayachew at gmail.com
Mon Aug 18 15:16:18 UTC 2025
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 <
hannes.wallnoefer at oracle.com> 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 <davidalayachew at gmail.com> wrote:
>
> 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/20250818/4e710413/attachment-0001.htm>
More information about the javadoc-dev
mailing list