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

Minimize Button is not working in MacOS Sequoia Version 15.0 #17083

Closed
mail2mhossain opened this issue Sep 22, 2024 · 7 comments
Closed

Minimize Button is not working in MacOS Sequoia Version 15.0 #17083

mail2mhossain opened this issue Sep 22, 2024 · 7 comments

Comments

@mail2mhossain
Copy link

mail2mhossain commented Sep 22, 2024

Describe the bug

We are using Avalonia, Avalonia.Desktop, and Avalonia.ReactiveUI. All are version 11.1.3.

In MacOS Sonoma Version 14.6.1, minimize button is working BUT in MacOS Sequoia Version 15.0, minimize button is not working

To Reproduce

Run AvaloniaUI in MacOS Sequoia Version 15.0.

Expected behavior

Should minimize the UI

Avalonia version

11.1.3

OS

macOS

Additional context

No response

@Amenti
Copy link

Amenti commented Sep 24, 2024

This also happens when using the Nightly Builds.

@BaseHead
Copy link

Yes we are seeing this also with macOS 15 and our users on macOS12 it's even worse. Their whole UI freezes. Super bad one. 8(

@MrJul
Copy link
Member

MrJul commented Oct 4, 2024

Fixed by #17181.

@MrJul MrJul closed this as completed Oct 4, 2024
@mail2mhossain
Copy link
Author

Waiting for public release in NuGet

@grokys
Copy link
Member

grokys commented Oct 9, 2024

Fixed in 11.1.4.

@BaseHead
Copy link

BaseHead commented Oct 9, 2024

Sweetness! Thx man!

@mail2mhossain
Copy link
Author

We have upgraded our application to version 11.1.4. Minimized issue is resolved.

Currently, we use the following method to capture key events and close the view when the Escape key is pressed:

private void Window_KeyDown(object? sender, KeyEventArgs e)
{
    if (e.Key == Key.Escape)
    {
        Close();
    }
}

Previously, this functionality worked as expected. In version 11.1.4, it continues to work on Windows; however, it now crashes on macOS.

The error report indicates that our application encounters a segmentation fault (EXC_BAD_ACCESS (SIGSEGV)) due to invalid memory access. The crash occurs in the libAvaloniaNative.dylib library within the keyDown method, suggesting there may be an issue with how keyboard events are handled or with memory access related to UI elements on macOS.

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

No branches or pull requests

6 participants