desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #138111
[Bug 1027652] Re: Tray Icon Special Actions are not converted to indicator ones
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: sni-qt (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sni-qt in Ubuntu.
https://bugs.launchpad.net/bugs/1027652
Title:
Tray Icon Special Actions are not converted to indicator ones
Status in sni-qt:
New
Status in sni-qt package in Ubuntu:
Confirmed
Bug description:
If I make a tray icon in Ubuntu 12.04 using Qt and do the following in
my code:
{
connect(trayIcon,SIGNAL(activated(QSystemTrayIcon::ActivationReason)),this,SLOT(clickSysTrayIcon(QSystemTrayIcon::ActivationReason)));
}
and
void MainWindow::clickSysTrayIcon(QSystemTrayIcon::ActivationReason reason)
{
qDebug() << "I AM IN";
}
The phrase 'I AM IN' will never be called!
I have tried with left/right click, middle click, wheel etc and nothing seems to launch this qDebug action.
However, if I use exactly the same code under Lubuntu for example,
which haven't removed tray icons, then the 'I AM IN' string is being
outputted every time I do an action to the tray icon, like
left/right/middle clicks etc.
This is very useful when you want to do an action on left or middle
click. But currently this is impossible with any qt application which
uses qsystemtrayicon!
I think that it is sni-qt's issue not to convert these tray icon
actions to the corresponding indicator actions!
To manage notifications about this bug go to:
https://bugs.launchpad.net/sni-qt/+bug/1027652/+subscriptions