electron / electron/electron

Child window becomes visible when parent is maximized

Open
#27,284 32 comments 0 reactions 0 assignees View on GitHub
10-x-y 12-x-y 8-x-y
Dominant language
C++
Stars
123k
Forks
17.5k
Avg merge
14h 31m
Merged PRs (30d)
858

Description

### Preflight Checklist

* [X ] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [X ] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [X ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
* 10.1.15, 8 and 12 beta.14
* **Operating System:**
* Windows 10
* **Last Known Working Electron version:**
* N/A

### Expected Behavior
I expect that if a child window is hidden whilst parent is minimized it should remain hidden when maximized

### Actual Behavior
Child window is visible. If The child window is hidden while the parent is maximized then it remains hidden if minimized -> maximized

### To Reproduce
1. Create a child window and assign it a parent
2. Set a timeout to hide the child window
3. Minimize parent and wait for timeout to expire
4. Maximize

See Fiddle: https://gist.github.com/1cbc8cf24a5e753cec22368355aff9b2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.