[Panel-devel] problem with time dataengine

Michael Olbrich michael-olbrich at web.de
Tue Jul 24 08:21:00 CEST 2007


Hi,

I noticed a problem with the time dataengine and I'm not sure how this
can be fixed. It is rather easy to reproduce:

1. Add two clock applets: clockA clockB
2. Activate "Display Seconds" for both.
3. Deactivate "Display Seconds" for clockA.
=> clockB shows the seconds hand but it isn't moving.

The problem is that clockA deactivates "Display Seconds" in the engine
without any regard for other applets that may be using it.
And the engine has not enough knowledge to decide how many users want
seconds. After all an applet could request seconds and then disappear.

The only solution I came up with was to use different data sources and
add a suffix/prefix to the name (e.g. "seconds:Local" vs "Local"). But
that's not really elegant either.

Any ideas?

michael



More information about the Panel-devel mailing list