When the plugin is configured to display the time in a tooltip, the time is not updated while the tooltip is displayed unless the cursor is moved slightly.
Reproduce by selecting "Date only, time in tooltip" for the layout and a time format that displays seconds.
Move the cursor over the plugin.
The time is displayed in a tooltip, but is not updated once a second.
Move the cursor slightly over the plugin to update the time.
Expected behavior is for the time to be updated automatically while the tooltip is displayed.
Trunk rev. 4835.
Confirmed. However, other plugins (for example, system load and network monitor) also have the same (bad) behavior. I wonder why...
(In reply to comment #1)
> Confirmed. However, other plugins (for example, system load and network
> monitor) also have the same (bad) behavior. I wonder why...
Thanks for these examples.
One possible problem is that the datetime plugin is using the deprecated GtkTooltips API.
"GtkTooltip belongs to the new tooltips API that was introduced in GTK+ 2.12 and which deprecates the old GtkTooltips API."
Fedora 9 has gtk2-2.12.9-5.fc9.i386.
Ubuntu 8.04 also has GTK+ 2.12.9.
GtkTooltips is certainly something to address in the future, especially if the new tooltips API would solve this issue. It shouldn't have a hard dependency on gtk 2.12, however, since xfce 4.6 will depend only on gtk 2.10.
Also, Steve, can you code? You seem to have quite a bit of interest in the plugin :)
(In reply to comment #3)
> GtkTooltips is certainly something to address in the future, especially if the
> new tooltips API would solve this issue. It shouldn't have a hard dependency on
> gtk 2.12, however, since xfce 4.6 will depend only on gtk 2.10.
OK, thanks for pointing this out.
Re GTK 2.10 dependency:
I just committed a new tooltip implementation for r4904-r4910, enabled only when compiled with GTK >= 2.10.
It doesn't solve this issue, but it was a necessary first step.
Fixed in r4911. It was definitely less straight-forward than I would have liked.