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

[feat] Add window.is_minimized() #3878

Closed
sprout2000 opened this issue Apr 10, 2022 · 1 comment · Fixed by #5618
Closed

[feat] Add window.is_minimized() #3878

sprout2000 opened this issue Apr 10, 2022 · 1 comment · Fixed by #5618
Labels
status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: feature request

Comments

@sprout2000
Copy link

Describe the problem

Since macOS always displays a menu when an application is active, selecting the minimize menu when the window is already minimized will always cause a panic.

Describe the solution you'd like

I want to cancel some menu events (e.g. set_fullscreen()) if the window is minimized.

Alternatives considered

No response

Additional context

No response

@amrbashir
Copy link
Member

tauri-apps/tao#257

@amrbashir amrbashir added the status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes label Apr 10, 2022
lucasfernog pushed a commit that referenced this issue Dec 12, 2022
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fixes #3878
cymruu pushed a commit to cymruu/tauri that referenced this issue Dec 13, 2022
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fixes tauri-apps#3878
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants