electron icon indicating copy to clipboard operation
electron copied to clipboard

Child window becomes visible when parent is maximized

Open bynho opened this issue 4 years ago • 18 comments

Preflight Checklist

  • [X ] I have read the Contributing Guidelines for this project.
  • [X ] I agree to follow the Code of Conduct 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

bynho avatar Jan 12 '21 19:01 bynho

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

github-actions[bot] avatar Oct 06 '22 02:10 github-actions[bot]

Something similar repros in Electron 21. Though in my case, when I restore the parent window, the child window is made visible.

pushkin- avatar Oct 06 '22 17:10 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

github-actions[bot] avatar Jan 10 '23 02:01 github-actions[bot]

repros in v22

pushkin- avatar Jan 11 '23 22:01 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

github-actions[bot] avatar Apr 13 '23 01:04 github-actions[bot]

bump

pushkin- avatar Apr 13 '23 15:04 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

github-actions[bot] avatar Jul 13 '23 02:07 github-actions[bot]

bump

pushkin- avatar Jul 13 '23 15:07 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

repros with v27

pushkin- avatar Oct 13 '23 14:10 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

repros w v29 alpha 8

pushkin- avatar Jan 12 '24 15:01 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

bump

pushkin- avatar Apr 13 '24 03:04 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

bump

pushkin- avatar Jul 17 '24 16:07 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

in v33, the child window is made visible when the minimized-parent window is restored.

pushkin- avatar Oct 16 '24 14:10 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

https://github.com/electron/electron/issues/27284#issuecomment-2417092929 repros in v34

pushkin- avatar Jan 16 '25 15:01 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

https://github.com/electron/electron/issues/27284#issuecomment-2417092929 repros in v36 beta.1

pushkin- avatar Apr 17 '25 14:04 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

bump

pushkin- avatar Jul 17 '25 14:07 pushkin-

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

bump

pushkin- avatar Oct 17 '25 14:10 pushkin-