Bug 240979 - [Patch] KWorldClock displays UTC time instead of the local time after loading the session until the mouse hovers over it
Summary: [Patch] KWorldClock displays UTC time instead of the local time after loading...
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 06:23 UTC by Cristian Oneț
Modified: 2010-09-14 08:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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