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

using gtk4? #107

Closed
TornaxO7 opened this issue Dec 18, 2023 · 7 comments
Closed

using gtk4? #107

TornaxO7 opened this issue Dec 18, 2023 · 7 comments

Comments

@TornaxO7
Copy link

tray-icon is currently using gtk3. Would it be possible to bump to gtk4?

@FabianLars
Copy link
Member

Hi, i really wish we could do it. The tray library is tauri's biggest gtk4 blocker afaik (except for the work of upgrading😅) but unfortunetely libappindicator, the linux tray library, requires gtk3 and won't update to gtk4 anytime soon (ref) especially considering that many distros still only use the "old" library (the one without ayatana in its name) which is basically unmaintained.

So i guess it's more likely we'll drop libappindicator for knsi or something at some point than using gtk4.

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2023
@TornaxO7
Copy link
Author

Damn it... may I ask if you know any alternatives to create system trays with rust?

@FabianLars
Copy link
Member

There's a rust implementation for ksni here https://github.com/iovxw/ksni but i don't know how usable it is.

@TornaxO7
Copy link
Author

thank you for the information!

@nazar-pc
Copy link

Why not using https://github.com/iovxw/ksni on Linux then? Looks like a decent selection of supported specs and no GTK stuff in dependencies.

@FabianLars
Copy link
Member

Well, that was the plan all the way back (iirc even before we moved out the tray implementation from tauri/tao into this crate) but we don't have time for this right now. We of course wouldn't turn down PRs in the meantime.

@nazar-pc
Copy link

Will experiment with it in our project and if it works well might send a PR your way, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants