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

Systray MenuItem separators not rendered #3759

Closed
2 tasks done
d1ss0nanz opened this issue Mar 23, 2023 · 1 comment
Closed
2 tasks done

Systray MenuItem separators not rendered #3759

d1ss0nanz opened this issue Mar 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@d1ss0nanz
Copy link
Contributor

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

After upgrading from version 2.3.1 to 2.3.1 all but the first MenuItem separators are gone.
Even the one before the Quit item.

How to reproduce

  1. run the attached application
  2. only the first separator is visible

Screenshots

No response

Example code

    app := app.New()

    systrayMenu := fyne.NewMenu("Test", &fyne.MenuItem{Label: "Click"})
    if desk, ok := app.(desktop.App); ok {
        desk.SetSystemTrayMenu(systrayMenu)
    }
    systrayMenu.Items = append(systrayMenu.Items, fyne.NewMenuItemSeparator(), &fyne.MenuItem{Label: "a"}, &fyne.MenuItem{Label: "b"}, fyne.NewMenuItemSeparator(), &fyne.MenuItem{Label: "c"})

    app.Run()
}

Fyne version

2.3.2

Go compiler version

1.20

Operating system and version

macOS Ventura

Additional Information

No response

@d1ss0nanz d1ss0nanz added the unverified A bug that has been reported but not verified label Mar 23, 2023
andydotxyz pushed a commit that referenced this issue Mar 24, 2023
andydotxyz pushed a commit that referenced this issue Mar 24, 2023
@andydotxyz
Copy link
Member

Apologies for this, updating systray to include the fix in fyne-io/systray#42 has resolved this on develop and the release branch.

@Jacalz Jacalz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants