Missing tooltips in systemload and netload panel plugins (was: Re: gtk2.16 bug?)

Enrico Tröger enrico.troeger at uvena.de
Wed Apr 1 18:18:51 CEST 2009


On Thu, 19 Mar 2009 17:44:27 +0100, Enrico wrote:

>On Wed, 18 Mar 2009 22:24:02 +0100, Andreas wrote:
>
>>Am Wed, 18 Mar 2009 21:53:21 +0100
>>schrieb Nick Schermer <nickschermer at gmail.com>:
>>
>>> I tried it with the 4.6.0 panel, both the old and new tooltip api
>>> works fine here for the launcher plugin, duno about the plugins
>>> you've mentioned, but they most likely use the old tooltip api and
>>> afaik that worked fine for ages... So it might be a gtk bug, because
>>> it's broken after that upgrade, but I can't confirm it because it
>>> works fine here (also Arch Linux, gtk 2.16 package from testing
>>> i686).
>>> 
>>> Nick
>>
>>hm. weird. I have this odd behavior with 2 systems running the
>>official Arch linux x86_64 packages.
>>
>>further checking shows: wheather applet, battary load, device mount
>>plugin and mixer show tooltips here. but systemload and networkmonitor
>>applets are broken.
>
>I can confirm systemload plugin seems broken however the netload plugin
>shows its tooltips here (Debian + GTK 2.16.0).

Update:
the netload plugin works for me because I increased the update timeout
to 1sec from the default which is much less.

The real reason for the disappearing tooltips is that in GTK 2.16 a bug
in the previously changed tooltips code was fixed so that the new GTK
tooltips timeout setting is respected which is set to 500ms by default.

The systemload and netload plugins update their tooltips every 250ms
(systemload) or at a configurable interval (netload). And if these
intervals less than 500ms, the tooltips never show.

Related bug reports:
http://bugzilla.xfce.org/show_bug.cgi?id=5175
and
http://bugzilla.xfce.org/show_bug.cgi?id=5177

Both have patches attached to fix the problem and additional
information.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20090401/730b9dea/attachment.pgp>


More information about the Xfce4-dev mailing list