Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The tray icon hasn't transparent #761

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

Open
bupy7 opened this issue Nov 15, 2021 · 14 comments
Open

The tray icon hasn't transparent #761

bupy7 opened this issue Nov 15, 2021 · 14 comments
Labels

Comments

@bupy7
Copy link

bupy7 commented Nov 15, 2021

Expected behavior

I want to see background of my tray around the icon.

Screenshots

image

Desktop:

  • OS: Linux
  • Distribution: Debian 11
  • Window System in case of Linux: X11
  • ksnip version: 1.8.0
  • How did you install ksnip: apt

Additional context

  • Tray: tint2 v16.7
  • DE: Openbox v3.6.1
@bupy7 bupy7 added the bug label Nov 15, 2021
@DamirPorobic
Copy link
Member

Well, that is part of the icon, that's not just background.
image

But there should be support for mono version #352 but you're one minor version and three patches behind. Can you double check if you can see the mono icon with the AppImage or any other continuous build package?

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

I installed 1.9.1-1~bpo11+1 from bullseye-backports and got an error:

$ ksnip
ksnip: symbol lookup error: ksnip: undefined symbol: _ZN15kImageAnnotator15KImageAnnotator38setNumberToolSeedChangeUpdatesAllItemsEb

@DamirPorobic
Copy link
Member

Not sure if that is going to work, looks like you're missing the matching annotator, probably a version mismatch. What I meant with continuous is this here https://github.com/ksnip/ksnip/releases
Those packages are build by us and should contain all you need.

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

Yes, it's works, but the tray icon is the same anyway. =(

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

image

@DamirPorobic
Copy link
Member

Ok, for some reason we fail to detect there that you're using dark mode. Requires some investigation.

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

May be the better solution would be suggest a selection of an icon at tray in the application settings?

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

This is my environment: https://github.com/bupy7/my-openbox-wm May be it'll helps you.

@DamirPorobic
Copy link
Member

Most applications do that automatically, like Telegram there, you probably haven't set icon to white. We do that by checking the color of the application palette here https://github.com/ksnip/ksnip/blob/31348873b914502adce6e1e97812f7704b479a7e/src/common/loader/IconLoader.cpp

One question though, can you share a screenshot of ksnip? What color has ksnip?

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

image

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

I'm using dark colors only for tint2. For windows I'm using light theme - Raleigh GTK Theme.

@bupy7
Copy link
Author

bupy7 commented Nov 16, 2021

And I'm using Papirus icons and Telegram are using its too for the tray icon.

@DamirPorobic
Copy link
Member

Well that explains it, the application palette is light so we think we're not running in dark mode. Maybe we need some changed logic to look at every widget, in this case the tray icon and use that for the check.

@ghost
Copy link

ghost commented Dec 2, 2021

И я использую значки Papirus...

спасибо за хорошую программу. она мне нужна. раньше. я не знал о её существовании.
ksnip - была чёрная иконка но данной программе её нет.

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

No branches or pull requests

2 participants