[Bug 892370] Re: The time zone for China should default to Beijing not Shanghai (when offline)
James M. Leddy
892370 at bugs.launchpad.net
Thu May 2 19:40:51 UTC 2013
I've figured out the immediate root cause, though I'm still puzzled why
the new "clickanywhere" code causes the problem. The initialization path
for the widget takes it through the function calls
cc_timezone_map_init() and either 1 or 2 calls to
cc_timezone_map_size_allocate(). Using the packages from the repo, there
is no problem. When using the "clickanywhere" binary, there are some
instances when cc_timezon_map_init() is not called _at all_! So when
this happens, we SIGSEV. I'm not exactly sure why this is happening. The
functions referenced above are automatically called somewhere out of gtk
or glib, and there isn't anything in the code that I've written to
indicate that the glue code shouldn't have to call
cc_timezone_map_init()
Note that this is only a problem when using gnome_control_center. If you
use "Time & Date Settings..." directly from the time dropdown in the
indicator, there's no problem.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libtimezonemap in Ubuntu.
https://bugs.launchpad.net/bugs/892370
Title:
The time zone for China should default to Beijing not Shanghai (when
offline)
Status in The Date and Time Indicator:
New
Status in OEM Priority Project:
In Progress
Status in OEM Priority Project oneiric series:
Won't Fix
Status in OEM Priority Project precise series:
Won't Fix
Status in OEM Priority Project quantal series:
Won't Fix
Status in OEM Priority Project raring series:
In Progress
Status in “indicator-datetime” package in Ubuntu:
In Progress
Status in “libtimezonemap” package in Ubuntu:
Fix Released
Status in “ubiquity” package in Ubuntu:
Confirmed
Status in “indicator-datetime” source package in Quantal:
Won't Fix
Status in “libtimezonemap” source package in Quantal:
Won't Fix
Status in “ubiquity” source package in Quantal:
Won't Fix
Status in “indicator-datetime” source package in Raring:
Won't Fix
Status in “libtimezonemap” source package in Raring:
Fix Released
Status in “ubiquity” source package in Raring:
Won't Fix
Status in “indicator-datetime” source package in Saucy:
Confirmed
Status in “libtimezonemap” source package in Saucy:
Fix Released
Status in “ubiquity” source package in Saucy:
Confirmed
Bug description:
When installing Ubuntu and selecting Simplified Chinese as the default
language, the default timezone should point to Beijing instead of
Shanghai. Everything in China is referenced to Beijing time. In
mainland China this standard time is called Beijing Time (北京时间)
domestically but it is commonly referred to as China Standard Time
(CST) internationally.
This seems to have come up a lot in past bugs:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/228554
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/517621
Steps to recreate:
1) Install Ubuntu and select Simplified Chinese for the language.
Actual Results:
At the timezone page, the default city is Shanghai.
Expected Results:
Most Chinese users prefer it be set to Beijing.
It looks as if the upstream tz database needs to be updated for
Beijing for starters, as Beijing is not listed in there.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: tzdata 2011n-0ubuntu0.11.10
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri Nov 18 15:26:03 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: tzdata
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-datetime/+bug/892370/+subscriptions
More information about the foundations-bugs
mailing list