onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.36k stars 301 forks source link

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

Open mikepc opened 5 years ago

mikepc commented 5 years ago

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:

Actual behavior:

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 commented 5 years ago

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

siddharth99 commented 5 years ago

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.