Tray Icon Special Actions are not converted to indicator ones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sni-qt |
New
|
Undecided
|
Unassigned | ||
sni-qt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I make a tray icon in Ubuntu 12.04 using Qt and do the following in my code:
{
connect(
}
and
void MainWindow:
{
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!
description: | updated |
description: | updated |
I don't think this is part of the indicator spec. As far as I know, clicking on the icon itself isn't supposed to send any signals purposely. The behaviour is probably intended since all icons are supposed to be menus. I might be wrong though.
Charles, what do you think?