Bug 178086

Summary: anaconda timezone selector crashes when dragging mouse on map canvas
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: system-config-dateAssignee: Nils Philippsen <nphilipp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-18 13:14:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
the logged exception none

Description Matthias Clasen 2006-01-17 19:16:50 UTC
When selecting a timezone during the test2 install a dialog pop'd up with the
attached exception.

I pressed down on the mouse button and dragged toward the edge of the screen
when the crash occurred.

Comment 1 Matthias Clasen 2006-01-17 19:16:50 UTC
Created attachment 123324 [details]
the logged exception

Comment 2 Chris Lumens 2006-01-17 19:35:53 UTC
Nils, really simple patch attached below.

diff -u -r1.40 timezone_map_gui.py
--- timezone_map_gui.py 16 Jan 2006 15:41:34 -0000      1.40
+++ timezone_map_gui.py 17 Jan 2006 19:28:11 -0000
@@ -442,7 +442,7 @@
     def highlight (self, x, y):
         shr = self.highlight_region
         hr = self.find_region (x, y)
-        if hr != shr:
+        if hr and hr != shr:
             if shr and shr['pixbuf']:
                 shr['pixbuf'].hide ()
                 shr['frame'].hide ()


Comment 3 Nils Philippsen 2006-01-18 13:14:37 UTC
I've applied the fix in version 1.7.99.16.