[Korganizer-devel] [Bug 276148] New: korgac and korganizer discrepancy on times

Stephen Dowdy sdowdy at ucar.edu
Mon Jun 20 22:00:46 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=276148

           Summary: korgac and korganizer discrepancy on times
           Product: korganizer
           Version: 4.4.5
          Platform: Debian stable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: reminder daemon (korgac)
        AssignedTo: korganizer-devel at kde.org
        ReportedBy: sdowdy at ucar.edu


Version:           4.4.5 (using KDE 4.4.5) 
OS:                Linux

korgac always reports events as being 1 hour later than specifed and alarms are
thus 1 hour late in getting to me.

sdowdy at zia$ korgac --version
Qt: 4.6.3
KDE Development Platform: 4.4.5 (KDE 4.4.5)
KOrganizer Reminder Daemon: 0.9

sdowdy at zia$ lsb_release -d
Description:    Debian GNU/Linux 6.0.1 (squeeze)

sdowdy at zia$ ls -ld /etc/localtime
lrwxrwxrwx 1 root root 31 May  6 22:09 /etc/localtime ->
/usr/share/zoneinfo/US/Mountain

sdowdy at zia$ cat /etc/timezone
US/Mountain

sdowdy at zia$ cat $(kde4-config --path config | cut -d: -f1)/ktimezonedrc
[TimeZones]
LocalZone=US/Mountain
ZoneinfoDir=/usr/share/zoneinfo
Zonetab=/usr/share/zoneinfo/zone.tab
ZonetabCache=

sdowdy at zia$ grep -i timezone $(kde4-config --path config | cut -d: -f1)/*
/home/sdowdy/.kde/share/config//korganizerrc:Timescale Timezones=
/home/sdowdy/.kde/share/config//ktimezonedrc:[TimeZones]
/home/sdowdy/.kde/share/config//plasma-desktop-appletsrc:defaultTimezone=Local
/home/sdowdy/.kde/share/config//plasma-desktop-appletsrc:showTimezone=false
/home/sdowdy/.kde/share/config//plasma-desktop-appletsrc:timeZones=


korgac is launched via system autostart:

/usr/share/autostart/korgac.desktop

so it is being launched at a different stage of my environment (race condition
in setting timezone?)

Reproducible: Always

Steps to Reproduce:
logout and back in again

(have NOT attempted to disable 'korgac' autostart via setting
korgacrc:General:Autostart false and then creating custom
startup in ~/.kde/Autostart, etc)

sdowdy at zia$ grep KDE-autostart /usr/share/autostart/korgac.desktop 
X-KDE-autostart-after=panel
X-KDE-autostart-condition=korgacrc:General:Autostart:true
)

Actual Results:  
time is off by 1 hour (not sure if this is Daylight Savings related, or not)

Expected Results:  
korgac and korganizer should be consistent about the time of an event and i
should be notified appropriately according to what i have specified.

kquitapp korgac && korgac

results in a correct so that things work

At least i believe:
qdbus org.kde.kded /modules/ktimezoned org.kde.KTimeZoned.initialize true

once logged in caused a successful correction to korgac as well, though i'm
less sure.

I have resorted to:

echo "export TZ=US/Mountain" > $(kde4-config --localprefix)/env/timezone.sh

which i *think* rectifies this problem, but IMHO is an unacceptable solution.

thanks,
--stephen

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list