[Gambas-user] New gb.form.statusicon component

Randall Morgan rmorgan62 at ...626...
Mon Jun 29 02:19:32 CEST 2015


On Ubuntu 12.04 LTS I got this error:

Got bus address:
 "unix:abstract=/tmp/dbus-rpp0FNMf50,guid=8d26a2cc34953a9ab507658e0000014d"
Connected to accessibility bus at:
 "unix:abstract=/tmp/dbus-rpp0FNMf50,guid=8d26a2cc34953a9ab507658e0000014d"
Registered DEC:  true
process 20705: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file
../../dbus/dbus-message.c line 1205.
This is normally a bug in some application using the D-Bus library.


On Sun, Jun 28, 2015 at 4:33 PM, Adrien Prokopowicz <
adrien.prokopowicz at ...626...> wrote:

> Le Sun, 28 Jun 2015 13:13:09 +0200, Benoît Minisini
> <gambas at ...1...> 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
>
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>


-- 
If you ask me if it can be done. The answer is YES, it can always be done.
The correct questions however are... What will it cost, and how long will
it take?



More information about the User mailing list