Bug 1322648

Summary: [F24] anaconda - When clicking Austrlia->Brisbane, the red pin is located on Darwin.
Product: [Fedora] Fedora Reporter: Chester Cheng <ccheng>
Component: libtimezonemapAssignee: David Shea <dshea>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkreder, pswo10680, rlandman, trans-zh_tw, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libtimezonemap-0.4.5-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 19:04:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chester Cheng 2016-03-31 01:07:12 UTC
Description of problem:
As titled.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 David Shea 2016-04-05 19:57:23 UTC
There's two parts to this, turns out.

The first: anaconda was overriding the sensible location choices already being made by the map. Clicking a point would set a pin at the city nearest that point, but then anaconda was overriding that to the default location for the zone. https://github.com/rhinstaller/anaconda/pull/581 gets it to stop doing that and leaves the pin near Brisbane, or wherever is clicked.

The second: if you call cc_timezone_map_set_timezone(map, "Australia/Brisbane"), the CcTimezoneLocation it chooses is Mount Isa. Still working on that part.

Comment 2 David Shea 2016-04-19 13:50:42 UTC
*** Bug 1328489 has been marked as a duplicate of this bug. ***

Comment 4 David Shea 2016-06-29 19:04:21 UTC
Added some code to cc_timezone_map_set_timezone to attempt to match the tzdata timezone name with a name of an actual city. Sometimes it works!