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

Fix tray pixmaps #186

Merged
merged 2 commits into from
Mar 7, 2023
Merged

Fix tray pixmaps #186

merged 2 commits into from
Mar 7, 2023

Conversation

y1wtt
Copy link
Contributor

@y1wtt y1wtt commented Mar 6, 2023

During research of issue #157, it was found that the IconPixmap provided by fcitx was empty. https://github.com/fcitx/fcitx5/blob/master/src/modules/notificationitem/notificationitem.cpp#L158
However, this is not a bug in fcitx. In the specification, The pixmap is provided as a fallback.
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/
The icon should be loaded from the IconName before attempting to load the pixmap.

@nwg-piotr
Copy link
Owner

I'm still feeling a bit lost in this module code. Thank you for your contribution.

@nwg-piotr nwg-piotr merged commit b94eb64 into nwg-piotr:master Mar 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants