Skip to content

tray-icon set_title/with_title has no effect on Linux with xfce #283

@adix-code

Description

@adix-code

Hi, running any of the examples, modified to only add title next to the tray icon, has no effect on Linux with Xfce. The icon is shown, but the text is missing completely.

I just added .with_title("Test title") after following line:
https://github.com/tauri-apps/tray-icon/blob/dev/examples/egui.rs#L23

The text is not displayed. Or maybe is a libappindicator issue?
I wanted to show a tooltip, but the feature is unsupported on Linux https://docs.rs/tray-icon/0.21.1/tray_icon/struct.TrayIcon.html#platform-specific-2 .

Is there any way or alternative to display some text next to the icon, or on tooltip (mouse hover), on linux?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions