Le Sun, 28 Jun 2015 13:13:09 +0200, Benoît Minisini
<gam...@users.sourceforge.net> a écrit:

Hi,

In the last revision of the development version, I have implemented a
new component named 'gb.form.statusicon', that implements the "new"
system tray protocol, based on DBus.

At the moment, it is only tested with KDE 5, and uses the KDE way of
implementing that protocol.

I say that, because the only documentation I found (that link provided
by Adrien) is different from their implementation!

It is impossible for me to test it just now with other desktop using
that protocol, because you can't anymore install Ubuntu's Unity desktop
on Kubuntu, it's completely broken.

So if anyone could test it on Unity, KDE4 or Gnome3 to tell me what
happens, it would be cool.

Just run the gb.form.statusicon project. It will create one StatusIcon,
and show a form with a Show button that create another StatusIcon.
Clicking on the icons in the system tray should print debugging
information. Clicking with the right button on the "Gambas" StatusIcon
should poup a menu.

Thanks in advance.

Regards,


I just made a VM with Ubuntu 15.04 and Unity to test that out, but I
can't get it to work. The program runs, but no icon shows up.

There are quite a few warnings (see attached), but I get these as well
on Plasma 5, and everything works there.

I made some more tests, I installed sni-qt and a program that uses it
(skype), and the icon shows up correctly.
So I ran D-Feet and checked the RegisteredStatusNotifierItems property
of the StatusNotifierWatcher (see attached screenshot).

The Skype icon that shows up is the second one on my screenshot, the
first one being the Gambas one. Both seem to be correctly registered
on both desktops, but only the second one shows up on Unity.

As you said, the link I provided is actually bad, as everyones seems
to use the KDE spec, not the "FreeDesktop" spec (in quotes here,
because the only spec that I managed to find isn't even on their site).

Without proper specification (How can it be so hard to find ?!), I
rely purely on the sni-qt plugin source code[0]. It's not the best,
but it's the only thing that I found that works across desktops.

[0] https://launchpad.net/sni-qt

--
Adrien Prokopowicz

Attachment: dbus_appindicator.log
Description: Binary data

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to