[Panel-devel] [Bug 154102] timezone assumed to be UTC in clock, no way to tell it otherwise
jamese
james.ellis at gmail.com
Sun Dec 16 14:48:19 CET 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=154102
------- Additional Comments From james.ellis gmail com 2007-12-16 14:48 -------
Hi Alex
I logged in as K4 again and went through the steps. The 10 second thing isn't exactly 10 seconds - it's when the clock ticks over to the next minute - e.g it went from 08:30 to 19:31 with the "local" panel clock staying as 00:30 to 00:31.
Here's some results from tailing the .xsession_errors file:
Step 1 (panel clock check "show timezone"
plasma(25844) KTimeZoneWidget::setSelected: No such zone: "Local"
plasma(25844) Clock::configAccepted: Timezone unknown: ()
plasma(25844) Clock::configAccepted: Timezone unknown: ()
Steps 2-9
plasma(25844) KTimeZoneWidget::setSelected: No such zone: "Local"
plasma(25844) KTimeZoneWidget::setSelected: No such zone: "Local"
plasma(25844) Clock::configAccepted: Timezone unknown: ()
plasma(25844) Clock::configAccepted: Timezone unknown: ()
plasma(25844) KTimeZoneWidget::setSelected: No such zone: "Local"
Here is everything that has ktimezoned in it, weirdly my /etc/timezone file has the text "User defined" in it...
$ grep -i ktimezoned .xsession-errors
kded(25802)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/usr/lib/kde4/share/kde4/services/kded/ktimezoned.desktop" for "" ["KDirWatch-1"]
kded(25802)/ktimezoned KTimeZoned::checkTimezone: checkTimezone()
kded(25802)/ktimezoned KTimeZoned::checkTimezone: checkTimezone(): /etc/timezone opened
kded(25802)/ktimezoned KTimeZoned::checkTimezone: checkTimezone(): local= false , name= "User defined"
kded(25802)/ktimezoned KTimeZoned::findLocalZone: /etc/localtime: "/etc/localtime"
kded(25802)/kded4 Kded::loadModule: Successfully loaded module "ktimezoned"
$ cat /etc/timezone
User defined
So I guess if the timezone can't be found - in my case "User defined" is no help -then it defaults to UTC.
I'm wondering why the second clock shows the correct time though until the update kicks in - maybe it is getting the correct timezone from somewhere.
In regards to recompiling with the patch, you'll have to excuse me as I am only an egg when it comes to that. Is it at all possible using Kubuntu packages ?
Cheers
James
More information about the Panel-devel
mailing list