mikaelkristiansson / gitbar

System tray for github reviews
https://mikaelkristiansson.github.io/gitbar/
MIT License
52 stars 5 forks source link

How to use this on Linux Manjaro? #13

Open mcmxcdev opened 1 year ago

mcmxcdev commented 1 year ago

Description

Icon is basically invisible and only shows when hovering over it. Only option when clicking it is "Quit". Launching GitBar from applications leads to multiple icons in the topbar.

And most importantly, how do I even login with my account to see anything? :laughing:

Screenshot from 2022-12-03 14-20-15

Specs

Linux Manjaro GNOME 43.1 with X11

mikaelkristiansson commented 1 year ago

Hi and thanks for trying the app out! šŸ˜Š I have only used it on Mac so far so 0 testing on Linux. I can take a look and see if I can find what might be the problem.

The login should appear if you left click on the icon while right click the only option is to quit.

mcmxcdev commented 1 year ago

Both left, and right click just give me an option to "Quit", so currently I have no way of using Gitbar :/

mikaelkristiansson commented 1 year ago

@mcmxcdev Ok, I think I've found what is causing this: https://tauri.app/v1/api/config/#systemtrayconfig

iconAsTemplate | boolean | false | A Boolean value that determines whether the image represents aĀ templateĀ image on macOS.

This is why the icon does not show, since Im using a black icon and it doesnt seem to convert it to white in linux. Im updating the icon to fix this.

Second is linux does not suppor the left click event in system tray, so I will add a fix for this as well so you can right click. Would you maybe be up for testing it out once done?

mcmxcdev commented 1 year ago

Great that you found out what's the issue.

Sure I can test it then ;)