oni icon indicating copy to clipboard operation
oni copied to clipboard

Browser state is lost when I leave the (VIM) window.

Open mikepc opened this issue 6 years ago • 2 comments

Oni Version: Neovim Version (Linux only): Operating System: MacOS Issue:

Browser state is lost when I leave the (VIM) window.

Expected behavior:

In modern client-side development we use hotload which causes the browser to refresh on file change, a typical development scenario is:

  • Make a change, save it.
  • Test it in the browser
  • Make another change.
  • Rinse and repeat

Actual behavior:

  • Make a change
  • Restore all application state by performing all required actions to get back to where we are coding.
  • Test it in the browser
  • Make a change
  • Restore all application state by performing all required actions to get back to where we are coding.

Steps to reproduce: Actually use the Oni to code a web app.

The browser, in its current form is useful for something like searching for a topic, or in other words.. just using a web browser, not really useful for development.

If there is a way to "keep" the browser between window focus changes, that should be the default setting.

mikepc avatar Nov 16 '18 21:11 mikepc

Ok, so after some fiddling I restarted oni entirely and the browser worked as I would expect it. Unfortunately I need to get more steps to replicate the state I was in again to figure out where things went wrong

mikepc avatar Nov 16 '18 22:11 mikepc

This happens to me too, whenever I switch the vim tab the browser state is completely lost and the entire browser is reloaded with the original homepage (defaultUrl). I tried a very minimal configuration with the 39 release and was able to reproduce this issue.

siddharth99 avatar Jan 31 '19 20:01 siddharth99