[Bug 297794] Re: Digital clock widget does not update time when laptop is woken from sleep until minute gets incremented

Bug Watch Updater 297794 at bugs.launchpad.net
Wed May 16 10:37:17 UTC 2012


Launchpad has imported 15 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=181380.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-01-20T10:18:13+00:00 Vide wrote:

Version:            (using Devel)
Installed from:    Compiled sources

Using KDE 4.2 RC1 on Kubuntu.

If I have a digital clock plasmoid in the panel set with minute
resolution (so, no seconds displayed) and I change the clock by another
mean (say, ntpdate), the clock won't be update until the next minute
comes.

So for example if I have my digital clock showing 10:02 AM, I run
ntpdate and I get my system date updated to 10:05 AM, the clock will
still show 10:02 for about a minute, then it jumps to 10:06.

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/3

------------------------------------------------------------------------
On 2009-01-21T02:05:40+00:00 Dario Andres wrote:

clock.cpp:486
int Clock::updateInterval() const
{
    return m_showSeconds ? 1000 : 60000;
}

In order to fix this cases, the plasmoid should retrieve the engine data
always at 1000msecs or use the default setting and "detecting" that kind
of changes (>1 minute of difference), do know if the last is possible.

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/4

------------------------------------------------------------------------
On 2009-01-21T08:01:10+00:00 aseigo wrote:

waking up once a second to catch what minute it is would be excessive;
we try and minimize wake ups.

as far as detecting time changes, that's probably the way to go (and
should happen in the engine) ...

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/5

------------------------------------------------------------------------
On 2009-05-19T11:30:11+00:00 aseigo wrote:

after further looking around, it seems there is no reliable way to get
notified of system updates that are done "behind our back" without
polling, which really isn't an option.

what we can eventually do is limit the pain, as we do with time zone
changes, by having kded emit a dbus signal whenever the time is changed
the date and time control panel.

sounds like a nice thing for 4.4 (along with putting the date and time
panel in the clock config itself :)

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/6

------------------------------------------------------------------------
On 2009-05-23T00:51:14+00:00 Nick Shaforostoff wrote:

a related bug is bug 171120

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/7

------------------------------------------------------------------------
On 2009-05-24T19:29:52+00:00 Kde-bugzilla wrote:

Confirming as per comments.

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/8

------------------------------------------------------------------------
On 2009-10-05T12:21:26+00:00 Asraniel wrote:

*** Bug 209308 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/9

------------------------------------------------------------------------
On 2010-01-03T14:19:58+00:00 Jlayt wrote:

Edit title to be clearer.

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/11

------------------------------------------------------------------------
On 2010-06-07T01:01:06+00:00 Neoclust-kde wrote:

*** Bug 171120 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/12

------------------------------------------------------------------------
On 2010-06-28T20:47:37+00:00 toralf wrote:

However If I move the mouse cursor over this panel, it is irritating
that 2 different times are shown.

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/13

------------------------------------------------------------------------
On 2010-11-09T20:26:49+00:00 toralf wrote:

(In reply to comment #3)
> by having kded emit a dbus signal whenever the time is changed the date and
> time control panel.
> 
> sounds like a nice thing for 4.4 (along with putting the date and time panel in
> the clock config itself :)
I'm wodnering whether this is implemented in the mean while ...

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/14

------------------------------------------------------------------------
On 2010-12-10T21:40:59+00:00 Dario Andres wrote:

*** Bug 259242 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/15

------------------------------------------------------------------------
On 2011-05-31T23:15:27+00:00 aseigo wrote:

*** Bug 274625 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/16

------------------------------------------------------------------------
On 2011-09-10T13:03:07+00:00 Dario Andres wrote:

*** Bug 281495 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/17

------------------------------------------------------------------------
On 2012-01-10T20:31:17+00:00 Shaun-reich wrote:

btw, the kernel recently got timer notifications enabled. So we can sign
up for a signal when the kernel's time itself gets changed and change
time when that happens, preventing wakeups. As far as where this is
going to be implemented, I thought I heard somebody mention about
implementing it...

Reply at: https://bugs.launchpad.net/kdelibs/+bug/297794/comments/18

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in Ubuntu.
https://bugs.launchpad.net/bugs/297794

Title:
  Digital clock widget does not update time when laptop is woken from
  sleep until minute gets incremented

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdelibs/+bug/297794/+subscriptions



More information about the kubuntu-bugs mailing list