! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
genmon does not immediately start updates with newly configured period
Status:
RESOLVED: FIXED
Product:
Xfce4-genmon-plugin
Component:
General

Comments

Description Steve 2008-04-29 22:32:00 CEST
Reproduce by configuring genmon to run "date" with a period of one second. After clicking close in the configuration dialog, the panel displays the date, but the date does not begin changing once a second until after a signficant delay. This delay varies in a range of about 10 to 20 seconds.

The expected behavior is for the display to immediately begin updating once a second.

xfce4-genmon-plugin 3.2 - Generic Monitor
Comment 1 Steve 2008-04-29 22:45:10 CEST
Created attachment 1611 
patch to restart the timer after the configuration is changed

Each time the configuration is changed, the timer is restarted with the current update period. Test with the "date" command and various update periods.

This patch also eliminates a spurious update when the plugin is initialized but there is no command configured. This update caused "XXX" to be displayed in the panel.
Comment 2 Florian Rivoal editbugs 2011-02-24 15:21:40 CET
Patch applied. Thanks

Bug #4050

Reported by:
Steve
Reported on: 2008-04-29
Last modified on: 2011-02-24

People

Assignee:
Florian Rivoal
CC List:
0 users

Version

Version:
3.2 or older

Attachments

Additional information