You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
assuming that I want to create a new BrowserWindow from an existing BrowserWindow, the older window should be in missing control (and show icon in dock) while the new one shouldn't. However, when I call newWindow.setHiddenInMissionControl the dock icon is hidden too, which is unexpected because the old window need to show in dock.
It can be worked around, adding app.dock.show() after setHiddenInMissionControl, but will cause the docker icon "hide and show". This is not the best solution.
Proposed Solution
add a second paramter to setHiddenInMissionControl, like setHiddenInMissionControl(true, { hideDock: false }), and the default value to hideDock is true.
Alternatives Considered
none
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Problem Description
assuming that I want to create a new BrowserWindow from an existing BrowserWindow, the older window should be in missing control (and show icon in dock) while the new one shouldn't. However, when I call newWindow.setHiddenInMissionControl the dock icon is hidden too, which is unexpected because the old window need to show in dock.
It can be worked around, adding
app.dock.show()
after setHiddenInMissionControl, but will cause the docker icon "hide and show". This is not the best solution.Proposed Solution
add a second paramter to setHiddenInMissionControl, like
setHiddenInMissionControl(true, { hideDock: false })
, and the default value to hideDock istrue
.Alternatives Considered
none
Additional Information
No response
The text was updated successfully, but these errors were encountered: