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

issue with tray module #3911

Open
Dadolyn opened this issue Jan 31, 2025 · 2 comments
Open

issue with tray module #3911

Dadolyn opened this issue Jan 31, 2025 · 2 comments
Labels

Comments

@Dadolyn
Copy link

Dadolyn commented Jan 31, 2025

Hello, this don't work as intended i assume:
src/modules/sni/tray.cpp

/tray.cpp
auto Tray::update() -> void {
// Show tray only when items are available
event_box_.set_visible(!box_.get_children().empty());
// Call parent update
AModule::update();
}
for example if you have passive elements option as "show-passive-items": false and you don't wish to show empty block get_children() length will be more then zero and block always will be visible and empty.
With regards,
Dadolyn

@RobertMueller2
Copy link
Contributor

I think that's related to #3833 .

@JorgeReus
Copy link

Is this why icons are not showing anymore?

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

3 participants