Skip to content

Error on close if TrayIcon not visible (windows) #289

@botiapa

Description

@botiapa

When the last reference of TrayIcon gets dropped if it's currently not visible icon.set_visible(false), I get the following error: Error removing system tray icon

I pinpointed it's coming from here:

eprintln!("Error removing system tray icon");

Can this be changed so that we check if the tray icon is visible first before trying to delete it? I'd be more than happy to contribute if you give me some pointers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions