Steps to reproduce:
- Go on any article on a Wikimedia project.
- Click "Edit" or "Edit source".
- Enter an internet condition that causes timeouts.
- Switch to the other editor (source or visual).
What happens?:
The following popup shows.
Then, if you click "Cancel", VisualEditor fails to recover (as has been implemented in other scenarios such as clicking "Publish changes"). Instead, it gets hung on the loading bar,
and all your changes made so far are now inaccessible.
What should have happened instead?:
It should recover and allow the user to continue editing in the mode they were previously in.
Unrelated side note: in the other scenario of clicking "Publish changes" in a timeout condition, it would be preferable if the button didn't arbitrarily grey out after the timeout, forcing the user to exit out of the box and re-open it.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Windows 7
Chrome 99.0.4844.51