-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc help popup appears in every new tab when no web local storage #79960
Comments
@rustbot modify labels +T-rustdoc +A-rustdoc-ui |
@rustbot modify labels +regression-from-stable-to-nightly |
I've been having a different version of this happen on https://doc.rust-lang.org/nightly/std (and |
cc @rust-lang/rustdoc – this is a pretty severe usability bug, and we should fix it as soon as possible |
I'll try to bisect. |
I'll send a fix shortly. |
Will the affected documentations on docs.rs be rebuilt? |
Unfortunately no. It'll require to rebuild the impacted crates. |
In current Rust nightly, the std docs search function does a very annoying thing for me: every time I open a new tab onto the rust std docs, I get once again the popup with the keybindings which I then have to dismiss.
I conjecture that this is because I am looking at locally built docs via a
file://
URL. Presumably the same thing would occur for a user who has sensibly disabled cookies in their web browser, resulting in the same horrible "stupid popup" user experience.Given that without web local storage it is not possible to make a thing that is shown to each user once, it would be better not to show this popup at all when local storage is not available.
I'm not sure if it is possible to determine easily whether local storage is available. I think there may be browsers which silently discard local storage writes rather than explicitly saying it's not available. Until we know the answer to this question, I suggest that the new popup should be disabled :-(.
The text was updated successfully, but these errors were encountered: