! 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 !
plugin isn't refreshed until properties are visited once


Description Yves-Alexis Perez editbugs 2011-04-22 13:06:57 CEST

I had a bug report from a Debian user (which I can confirm). Basically when xfce4-panel is started, the genmon plugin is not refreshed until one visits the properties. Then, it works fine until the panel is restarted.

Downstream bug is at http://bugs.debian.org/623697 and if you want more information you can mail directly the submitter (adding 623697@bugs.debian.org to CC:).
Comment 1 Christoph Wickert editbugs 2011-04-22 13:57:49 CEST
I have a similar gug report in Fedora, but I cannot confirm it:

xfce4-genmon-plugin don't show. If I right click, and select properties - don't
change any property -, close configuration window, genmon plugin is show.
If I open genmon properties window, and close, genmon is show, and I click
places applet icon, the places window show incorrect coordinates. Please see my
next attachement.

More info and screenshots at https://bugzilla.redhat.com/show_bug.cgi?id=695025
Comment 2 Stefan Ott 2011-05-22 11:48:25 CEST
Created attachment 3685 
Initialize display timer at startup

FYI, from having a brief look at things it would seem that this commit might have broken things: http://git.xfce.org/panel-plugins/xfce4-genmon-plugin/commit/?id=5d9618659709b820c73b547b335a8c0c160264ca

Basically it removes the initial call to SetTimer when the plugin is first initialized and replaces it with a call that is only ever run when the configuration is updated.

The attached (highly trivial) patch would seem to fix this.
Comment 3 Tito 2011-06-26 10:52:21 CEST
I can confirm that the patch from Stefan solves the problem for me, too.
Comment 4 John Lindgren editbugs 2012-01-01 22:12:28 CET
Duplicate of https://bugzilla.xfce.org/show_bug.cgi?id=7449.
Comment 5 John Lindgren editbugs 2012-01-02 16:00:14 CET

*** This bug has been marked as a duplicate of bug 7449 ***

Bug #7527

Reported by:
Yves-Alexis Perez
Reported on: 2011-04-22
Last modified on: 2012-01-02


Florian Rivoal
CC List:
4 users



Initialize display timer at startup (285 bytes, patch)
2011-05-22 11:48 CEST , Stefan Ott
no flags

Additional information