This bug has been reported on Ubuntu Launchpad as: https://bugs.launchpad.net/bugs/348904 Release: Xubuntu Jaunty 9.04 - Alpha 6 - Live CD and installed Package: xfce4-systemload-plugin: 1:0.4.2-1ubuntu3 Expected behavior: 1) Moving your mouse over one of the plugin's bars 2) A tooltip appear with more information. Actual behavior: 1) Moving your mouse over one of the plugin's bars 2) No tooltip This used to work under Intrepid. Package: xfce4-systemload-plugin: 1:0.4.2-1ubuntu3
Created attachment 2264 Possible fix for the missing tooltips In GTK 2.12 the tooltips code has been reworked but there was a bug that prevented that changed tooltips updated when already shown. See http://bugzilla.gnome.org/show_bug.cgi?id=487624. This bug has been fixed in GTK 2.16 and while GTK now works properly, I think this is why the panel plugin is broken. In GTK 2.12 new settings for the tooltips timeouts were added, these timeouts default to 500ms but the panel plugin updates its tooltips every 250ms. So, the timeout never gets activated because it's invalidated by the tooltip update by the plugin. The attached patch tries to workaround this problem by reducing the GTK setting for the tooltip timeout to something less than 250ms so the timeout gets activated. This is not the best solution but the easiest. A real fix would be to use the new GTK tooltips API and connect to the "query-tooltip" signal but these changes require GTK 2.12 while the attached patch just works.
I'm not sure anobody still maintains that plugin, sadly. I'll try to integrate your patch in Debian packages, but sure it'd be nice if somebody could step in to port the plugin to GTK 2.12 api :) Cheers,
Porting the plugin to GTK 2.12 should be fairly easy but obviously then it won't be compatible to earlier versions. Xfce 4.6 depends on GTK 2.10. Anyway, this should be decided and done by the plugin maintainer.
I'm not sure the gtk 2.12 dependency would be that problematic, but in the end there is still the #ifdef solution. And yes, the decision belongs to the plugin maintainer. But is there any?
Well 1) there is no maintainer 2) goodies can depend on the requirements of Xfce 4.6, that is GTK+ 2.10. If people want support for an older GTK+ version than they should use an older version of the plugin.
Yeah but we are talking of GTK 2.12 :) Anyway, will the 4.8 panel plugin api be the same as 4.6 or will it be changed again and require another plugins rewrite?
(In reply to comment #6) > Yeah but we are talking of GTK 2.12 :) > > Anyway, will the 4.8 panel plugin api be the same as 4.6 or will it be changed > again and require another plugins rewrite? It will change but only the Makefiles will have to be updated. I have read Nick said this is gonna be easy.
*** Bug 5650 has been marked as a duplicate of this bug. ***
*** Bug 5959 has been marked as a duplicate of this bug. ***
*** Bug 5865 has been marked as a duplicate of this bug. ***
Fixed by upgrading to the non deprecated Gtk api for tooltips