lbryio / lbryio/lbry-desktop

Maximized window setting lost if restored from tray after minimizing

Open
#1,199 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ux area: viewer good first issue hacktoberfest help wanted level: 1 priority: medium type: bug
Dominant language
JavaScript
Stars
3.5k
Forks
409
PR merge metrics
No merged PRs in 30d

Description

## The Issue
This seems to affect Windows only. If you have the LBRY app maximized, then minimize (or minimize + close), then try to restore from tray (double click, or right click > Open LBRY), the window returns to the previous un-maximized window size. This will also happen if you have LBRY minimized in such a state and then open a LBRY url like https://open.lbry.io/test

### Steps to reproduce
1. Maximize LBRY window size
2. Minimize LBRY
3. Restore from tray
4. Notice the window is no longer maximized - it may be full screen or use whatever previous non-maximized you had.

### Expected behaviour
Window show be restored to last used state, or maximized in this case

### Actual behaviour
Window size is restored

## System Configuration

- LBRY Daemon version: 0.19.1
- LBRY App version: 0.21.2
- LBRY Installation ID:
- Operating system:

## Anything Else

## Screenshots

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Windows using the listed maximize, minimize, and tray-restore steps, including opening an LBRY URL while minimized. Then trace the desktop app's tray and window restoration flow; done means a maximized window returns maximized after tray restoration or URL opening.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.