compiler-explorer / compiler-explorer

Run compilers interactively from your web browser and interact with the assembly

Home Page:https://godbolt.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: empty layout is hard to recover from

OfekShilon opened this issue · comments

commented

Describe the bug

As raised on discord by @Endilll, with repro by @Alcaro:

If you (accidentally?) close a code editor the layout is empty.
If you share a link to such a state, refreshing the page and 'reset ui layout' don't recover from this (as the state is now encoded in the url)

Steps to reproduce

  1. Close the code editor pane,
  2. Share a link. Example: https://godbolt.org/z/asMW7b6P6
  3. Open a tab with this link, try to reset ui/code - still empty.

Expected behavior

Reproduction link

https://godbolt.org/z/asMW7b6P6

Screenshots

Not applicable

Operating System

No response

Browser version

No response