Skip to content
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

Demo/save snapshot on quit #1

Open
wants to merge 27 commits into
base: demo/save-snapshot-on-quit
Choose a base branch
from

Conversation

PhilVogt
Copy link

Hi Varun,
Please have a look at a couple of small changes to our repo. 1 to add a default title to each view, to stop it showing the URL and another to try and recreate the issue of the window showing a rectangle (with background color set) while it waits for the html/js to download.

Any questions, please just let me know.
Phil.

vagoel and others added 27 commits January 19, 2021 14:48
As discussed via email, if you use version “18.87.57.28” or “19.89.57.6”, and apply a backgroundColor, it works ok Varun.
-Which Supports "backgroundColor" fix
Added close-requested listener
- Updated the version to canary-master and verified that this version fixes the provider window from popping up in a frozen state.
- Added css to stop the URL from appearing in the main view before the content loads.
- Added a default title to stop the URL showing when a tab view is created.
- Added an artificially slow server to highlight how the view looks when waiting for the html and js to download.
Removed state - maximized for issue replication...
Hey Varun,
Thanks for updating the repository so we were able to reproduce the issue. We can see that you were only saving the "windows" part of the snapshot, there's also "monitor" data which was not being saved. Since we didn't have the monitor information, the layout engine was unable to determine where to display the windows. We have changed the code to save the entire snapshot and this has fixed the issue.

Please let us know how you get on and thanks for your patience while we got to the bottom of the issue.
Phil.
Hey Varun, this will fix it. I compared Imran's local changes to mine and discovered that it was a combination of 2 things, the css change and including the default URL for the defaultWindowOptions. Both combined fix the issue.
Hey Varun,
Hopefully this addresses the issue you raised here -> #6.
Please let me know how you get on with this approach.
Thanks,
Phil.
Hey Varun,
Please have a look at the fix for this issue. You need to unfocus the window before hiding it.
Thanks,
Phil.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants