Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG (Mac): Enabling "on top" in examples app hides window in Mission Control #258

Open
tonsky opened this issue Dec 22, 2022 · 3 comments
Open

Comments

@tonsky
Copy link
Collaborator

tonsky commented Dec 22, 2022

Mission Control meaning what you get when pressing "CTRL+UP" or swiping three fingers up on the touch pad.

Originally reported at HumbleUI/HumbleUI#61 by @lambdaschmied2

@tonsky
Copy link
Collaborator Author

tonsky commented Dec 22, 2022

Seems to be a native macOS behavior electron/electron#6959 that Chrome/Electron still somehow manage to work around https://github.com/electron/electron/blob/d092e6bda4c7ba840f76ef835135f6ac94e02803/shell/browser/native_window_mac.mm#L283-L289

@bumfo
Copy link
Contributor

bumfo commented Jan 22, 2023

Aren't top windows hidden the intended behavior of mission control? I quite like this behavior because it hides tool windows (which are often set top). I think a new option should be available if a workaround is made, e.g. setHideFromMissionControl.

A better abstraction would be adding tool & main window separation, and hide all tool windows automatically.

@mushan0x0
Copy link

Aren't top windows hidden the intended behavior of mission control? I quite like this behavior because it hides tool windows (which are often set top). I think a new option should be available if a workaround is made, e.g. setHideFromMissionControl.

A better abstraction would be adding tool & main window separation, and hide all tool windows automatically.

I agree with you, but it doesn't seem to be hiding now, is this a bug? Because I created an alwaysOnTop window with a type of "panel", and I wanted it to be hidden in Mission Control, but it's not hiding in version electron26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants