Skip to content

System tray icon not in selected state upon clicking #4910

@sjayach

Description

@sjayach

Description

Used v3/examples/systray-menu example.

Also, popup doesn't display on top of other window

To Reproduce

  1. cd v3/examples/systray-menu
  2. go run main.go
  3. click the W icon from systray

Expected behaviour

  1. System tray icon should be in selected state upon clicking
  2. should be overlay over other apps.

Screenshots

No response

Attempted Fixes

No response

System Details

Wails (v3.0.0-alpha.62)  Wails Doctor 
                                                                                                                                                                                                    
# System 

┌──────────────────────────────────────────────────┐
| Name          | MacOS                            |
| Version       | 26.2                             |
| ID            | 25C56                            |
| Branding      | MacOS 26.2                       |
| Platform      | darwin                           |
| Architecture  | arm64                            |
| Apple Silicon | true                             |
| CPU           | Apple M3 Pro                     |
| CPU 1         | Apple M3 Pro                     |
| CPU 2         | Apple M3 Pro                     |
| GPU           | 18 cores, Metal Support: Metal 4 |
| Memory        | 18 GB                            |
└──────────────────────────────────────────────────┘

# Build Environment 

┌────────────────────────────────┐
| Wails CLI    | v3.0.0-alpha.62 |
| Go Version   | go1.25.6        |
| -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 | 2416                                                 |
| npm             | 10.2.4                                               |
| *NSIS           | Not Installed. Install with `brew install makensis`. |
| docker          | *Not installed (optional - for cross-compilation)    |
|                                                                        |
└─────────────────────── * - Optional Dependency ────────────────────────┘

# Checking for issues 

 SUCCESS  No issues found

# Diagnosis 

 SUCCESS  Your system is ready for Wails development!

Need documentation? Run: wails3 docs
 ♥   If Wails is useful to you or your company, please consider sponsoring the project: wails3 sponsor

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions