Skip to content

[v3][macOS] Window behavior issues (works fine on Windows) #4650

@Yuelioi

Description

@Yuelioi

Description

I noticed some issues with window behavior on macOS, which do not occur on Windows:

Window.hide() hides completely – when calling Window.hide, the window disappears entirely, including the tray icon.

Window.ToggleMaximise flicker – when maximizing, the window first expands as a white screen, then fills correctly. My background is dark, so the flicker is visually jarring.

(Frameless = true)

To Reproduce

pnpm run dev

Expected behaviour

work same as winodws

Screenshots

No response

Attempted Fixes

No response

System Details

# System 

┌──────────────────────────────────────────────────┐
| Name          | MacOS                            |
| Version       | 15.5                             |
| ID            | 24F74                            |
| Branding      | Sequoia                          |
| Platform      | darwin                           |
| Architecture  | arm64                            |
| Apple Silicon | true                             |
| CPU           | Apple M4                         |
| CPU 1         | Apple M4                         |
| CPU 2         | Apple M4                         |
| GPU           | 10 cores, Metal Support: Metal 3 |
| Memory        | 32 GB                            |
└──────────────────────────────────────────────────┘

# Build Environment 

┌────────────────────────────────┐
| Wails CLI    | v3.0.0-alpha.36 |
| Go Version   | go1.24.9        |
| -buildmode   | exe             |
| -compiler    | gc              |
| CGO_CFLAGS   |                 |
| CGO_CPPFLAGS |                 |
| CGO_CXXFLAGS |                 |
| CGO_ENABLED  | 1               |
| CGO_LDFLAGS  |                 |
| GOARCH       | arm64           |
| GOARM64      | v8.0            |
| GOOS         | darwin          |
└────────────────────────────────┘

# Dependencies 

┌────────────────────────────────────────────────────────────────────────┐
| Xcode cli tools | 2409                                                 |
| npm             | 10.9.2                                               |
| *NSIS           | Not Installed. Install with `brew install makensis`. |
|                                                                        |
└─────────────────────── * - Optional Dependency ────────────────────────┘

# Checking for issues 

 SUCCESS  No issues found

# Diagnosis 

 SUCCESS  Your system is ready for Wails development!

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingMacOSawaiting feedbackMore information is required from the requestor

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions