-
Notifications
You must be signed in to change notification settings - Fork 3
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
Volume change on mousewheel down/up on tray icon #3
Comments
hello! I'm updating some apps in this organization these days, I plan to do it also for this one. |
Self reminder (or for someone else having any idea): just tried but I don't get it to work.
Looking at the Qt5 code it should work using Click here to view code// src/application.cpp
trayIcon_->installEventFilter(this);
// ...
bool Qtilities::Application::eventFilter(QObject *, QEvent *event)
{
// it comes here only for the deferred deletion
if (event->type() == QEvent::ToolTip) { // or QEvent::Wheel
// ...
}
return true;
} |
Should be fixed in b5e9574. The issue I had was that lxqt-panel seems not to handle wheel events for systray, this works with tint2, I suppose also with other panel apps. EDIT2: as pointed out here, mouse wheel handling in Qt is supported only for the old XEmbed, not the newer StatusNotifierItem specification (used at least in KDE and LXQt):
Please let me know if it's Ok or if you find some other issues, I would like to make a release at some point. |
A StatusNotifierItem library is on the way. |
Thank you v much! Luckily I'm looking at move from AwesomeWM to Hyprland shorly, which I guess has SNI! |
It seems they are still on XEmbed, which is X11, so it's XWayland? Edit: I confused the two, can't see what type of bar/dock HL uses, I'll ask to someone that uses it. Edit2: looks like it have no bar IIUC what Arch Wiki say, so you can try one that have it, Waybar (the most used, I have it but i don't like it like I don't like most of them) seems using libappindicator, the one used by Gnome that now I heard has removed tray icon support. swfbar seems the one you need. |
Thank you for doing some of the research I needed to do :) |
YW, I was curious to know a bit the general situation. |
Just a feeler issue in case voltrayke might see development again.
The text was updated successfully, but these errors were encountered: