Save app state when closing to tray #968

Closed
opened 2018-01-26 20:21:14 +01:00 by tzarebczan · 0 comments
tzarebczan commented 2018-01-26 20:21:14 +01:00 (Migrated from github.com)

The Issue

Close to tray app behavior was recently changed by @IGassmann where the app closes and then is re-opened to a fresh state when restoring. Previously, the app state was retained when the app was closed.

If its possible and doesn't cause issues, we should retain app state when closing to tray as other electron apps like Discord do.

Steps to reproduce

  1. Go to a claim
  2. Close LBRY to the app tray (close window)
  3. Restore from tray
  4. Notice app loads to green screen and then to home

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-app/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on live chat at https://chat.lbry.io --> ## The Issue Close to tray app behavior was recently changed by @IGassmann where the app closes and then is re-opened to a fresh state when restoring. Previously, the app state was retained when the app was closed. If its possible and doesn't cause issues, we should retain app state when closing to tray as other electron apps like Discord do. ### Steps to reproduce 1. Go to a claim 2. Close LBRY to the app tray (close window) 3. Restore from tray 4. Notice app loads to green screen and then to home ### Expected behaviour Tell us what should happen ### Actual behaviour Tell us what happens instead ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: - LBRY App version: - LBRY Installation ID: - Operating system: ## Anything Else <!-- Include anything else that does not fit into the above sections --> ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#968
No description provided.