[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-16 Thread Bug Watch Updater
*** This bug is a duplicate of bug 43644 ***
https://bugs.launchpad.net/bugs/43644

** Changed in: gst
   Status: New => Invalid

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-05 Thread Savvas Radevic
*** This bug is a duplicate of bug 43644 ***
https://bugs.launchpad.net/bugs/43644

I agree with era :)
The problem was fixed in system-tools-backends package which is not used by any 
kde package:

$ apt-cache rdepends system-tools-backends
system-tools-backends
Reverse Depends:
  gnome-system-tools
  liboobs-1-4
  gnome-system-tools

$ apt-cache rdepends liboobs-1-4
liboobs-1-4
Reverse Depends:
  gnome-network-admin
  gnome-system-tools
  gnome-applets
  moblin-applets
  gnome-network-admin
  liboobs-1-dev
  liboobs-1-4-dbg
  gnome-system-tools
  gnome-applets

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-05 Thread era
*** This bug is a duplicate of bug 43644 ***
https://bugs.launchpad.net/bugs/43644

@Mark Fraser: perhaps you should submit a separate bug report, because
this one is about a similar problem in Gnome.  Do include a link to this
bug report.  Sorry, can't help you with which KDE component to file a
bug against.

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-05 Thread Mark Fraser
*** This bug is a duplicate of bug 43644 ***
https://bugs.launchpad.net/bugs/43644

> > unable to get any discrepancy for Europe/London
> > (also since Mark Fraser is using Kubuntu,
> > his is bound to be a different problem).

> Actually, if he means that he sets his time zone to Guernsey in time-admin, 
> and it gets reset to London, that is the same
> problem.

Almost, but if I set my time zone to London, it gets set to Guernsey.

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-05 Thread era
*** This bug is a duplicate of bug 43644 ***
https://bugs.launchpad.net/bugs/43644

** This bug has been marked a duplicate of bug 43644
   time-admin shows different time zone when it is restarted

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-05 Thread era
> unable to get any discrepancy for Europe/London
> (also since Mark Fraser is using Kubuntu,
> his is bound to be a different problem).

Actually, if he means that he sets his time zone to Guernsey in time-
admin, and it gets reset to London, that is the same problem.

** Also affects: system-tools-backends (Ubuntu)
   Importance: Undecided
   Status: New

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-05 Thread era
In http://git.gnome.org./cgit/gnome-system-tools/tree/src/time/time-
tool.c the function oobs_time_config_get_timezone is used to populate
the GUI.  This appears to use the functions from System Tools Backends
to actually obtain the current time zone.

Now, my understanding of the relationships and dependencies is far from
perfect, but I was able to read and roughly understand the code in
Time::TimeDate.pm -- it basically compares your /etc/localtime to the
available time zone files, and (duh) reports the first match.

But why doesn't it simply read my /etc/timezone?

jaunty$ perl -I/usr/share/system-tools-backends-2.0/scripts -MTime::TimeDate 
-MUtils::File \
>  -le 'print Time::TimeDate::get_timezone("/etc/localtime", 
> "/usr/share/zoneinfo")'
Europe/Mariehamn

jaunty$ cat /etc/timezone 
Europe/Helsinki

jaunty$ ls -l /etc/localtime /usr/share/zoneinfo/Europe/{Helsinki,Mariehamn}
-rw-r--r-- 1 root root 1883 2009-07-04 22:07 /etc/localtime
-rw-r--r-- 2 root root 1883 2009-06-18 19:15 /usr/share/zoneinfo/Europe/Helsinki
-rw-r--r-- 2 root root 1883 2009-06-18 19:15 
/usr/share/zoneinfo/Europe/Mariehamn

jaunty$ md5sum /etc/localtime /usr/share/zoneinfo/Europe/{Helsinki,Mariehamn}
a2a75461ac17557cba12a846a564e467  /etc/localtime
a2a75461ac17557cba12a846a564e467  /usr/share/zoneinfo/Europe/Helsinki
a2a75461ac17557cba12a846a564e467  /usr/share/zoneinfo/Europe/Mariehamn

Thus, the following locations exhibit the problem:

jaunty$ grep -v '^#' /usr/share/zoneinfo/zone.tab | cut -sf3 |
> perl -I/usr/share/system-tools-backends-2.0/scripts -MTime::TimeDate 
> -MUtils::File -lne '
>   $a = $_;
>   $tz = Time::TimeDate::get_timezone("/usr/share/zoneinfo/$_", 
> "/usr/share/zoneinfo");
>   print "$a != $tz" unless ($a eq $tz)'
Antarctica/South_Pole != Antarctica/McMurdo
Europe/Helsinki != Europe/Mariehamn
Europe/Guernsey != Europe/London
America/Guadeloupe != America/St_Barthelemy
Europe/Zagreb != Europe/Sarajevo
Europe/Isle_of_Man != Europe/London
Europe/Jersey != Europe/London
Europe/Podgorica != Europe/Sarajevo
America/Marigot != America/St_Barthelemy
Europe/Skopje != Europe/Sarajevo
Europe/Belgrade != Europe/Sarajevo
Europe/Ljubljana != Europe/Sarajevo
Arctic/Longyearbyen != Europe/Oslo
Europe/Bratislava != Europe/Prague
Europe/San_Marino != Europe/Rome
America/Shiprock != America/Denver
Europe/Vatican != Europe/Rome

As predicted by this list, I was able to reproduce for Longyearbyen and
Jersey as well, and would expect the rest of the list to reprodce this
problem as well.  For Longyearbyen -> Olso and Jersey -> London the
mapping is luckily to the proper main city in the governing territory,
so I guess it's less sensitive for them, but it's still a bug.  If Rome
mapped to San Marino, or Denver to Shiprock, that would be similar to
the situation wrt Helsinki/Mariehamn.  And Bratislava -> Prague is
pretty grave, of course.

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-04 Thread era
I was able to reproduce that Europe/Belgrade, Europe/Ljubljana,
Europe/Skopje, and Europe/Zagreb get mapped to Europe/Sarajevo, but was
unable to get any discrepancy for Europe/London (also since Mark Fraser
is using Kubuntu, his is bound to be a different problem).  This was on
Jaunty 9.04.

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 16285] Re: time-admin: User-selected time zone will not stick (for some locations)

2009-07-04 Thread Bug Watch Updater
** Changed in: gst
   Status: Unknown => New

-- 
time-admin: User-selected time zone will not stick (for some locations)
https://bugs.launchpad.net/bugs/16285
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs