Bug 240979

Summary: [Patch] KWorldClock displays UTC time instead of the local time after loading the session until the mouse hovers over it
Product: [Applications] marble Reporter: Cristian Oneț <onet.cristian>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Cristian Oneț 2010-06-07 06:23:44 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

I use KWorldClock without a custom timezone selection so it normally displays the local time and the location which is correct. But just after my session is started it displays the UTC time with the same location which is wrong. This happens until the mouse passes over the widget and it gets the chance to display other timezone data. This also happens when adding the widget to the desktop.

Reproducible: Always

Steps to Reproduce:
Add KWorldClock without hovering with the mouse over it

Actual Results:  
UTC time with non UTC location is displayed

Expected Results:  
The local time and the location should be displayed like it is after the mouse enters and leaves the widget.
Comment 1 Dennis Nienhüser 2010-09-12 22:53:47 UTC
SVN commit 1174576 by nienhueser:

Check whether a map theme exists to prevent a crash (hopefully, can't verify it here) when setting the projection while no map theme is set. See http://svn.reviewboard.kde.org/r/5323/
CCBUG: 240979

 M  +1 -1      MarbleModel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174576
Comment 2 Dennis Nienhüser 2010-09-12 23:15:26 UTC
Patch is at http://svn.reviewboard.kde.org/r/5323
Comment 3 Cristian Oneț 2010-09-13 07:58:49 UTC
SVN commit 1174653 by conet:

BUG: 240979
Fix for KWorldClock that displays the UTC time instead of the local time after loading the session until the mouse hovers over it.

 M  +10 -13    worldclock.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174653
Comment 4 Cristian Oneț 2010-09-14 08:03:12 UTC
SVN commit 1175092 by conet:

BUG: 240979
Fix for KWorldClock that displays the UTC time instead of the local time after
loading the session until the mouse hovers over it. Backport to the 4.5 branch.



 M  +10 -13    worldclock.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1175092