electron / electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
https://electronjs.org
MIT License
114.31k stars 15.41k forks source link

[Bug]: calling app.hide before or after webContens.startDrag doesnt hide the app until drag is finished #42323

Open claudia-romano opened 5 months ago

claudia-romano commented 5 months ago

Preflight Checklist

Electron Version

29.1.5

What operating system are you using?

macOS

Operating System Version

Sonoma 14.5

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

No response

Expected Behavior

All windows of the app to be hidden, just like the app.hide docs say.

Actual Behavior

No window is hidden until drag is over

Testcase Gist URL

https://gist.github.com/claudia-romano/e63fdcfab93b9cfa21586cd828c14353

Additional Information

This is the same bug described in this issue, which was closed because a gist was missing. Thanks

electron-issue-triage[bot] commented 2 months ago

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!

claudia-romano commented 2 months ago

bump