tangxiaodao / gmapcatcher

Automatically exported from code.google.com/p/gmapcatcher
0 stars 0 forks source link

double-click event not triggered #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
 1.Double-Clicking in the drawing area (Map) is not triggering the double-click event in Windows 7 os, Command -> "python maps.py". Tested it and found the single click event is being triggered only.
2.
3.

What is the expected output? What do you see instead?
Map is supposed to zoom one level. The installation exe file is ok as this 
event is being triggered there.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by benx...@gmail.com on 27 Sep 2011 at 5:25

GoogleCodeExporter commented 9 years ago
That is very very strange, I will build an installer with the latest changes to 
test in  Win 7

Original comment by heldersepu on 27 Sep 2011 at 5:50

GoogleCodeExporter commented 9 years ago
I just build a new installer:
http://code.google.com/p/gmapcatcher/downloads/detail?name=GMapCatcher-0.7.6.2.e
xe

I tested under Win XP and all seems OK

Original comment by heldersepu on 27 Sep 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Tested on 2 Win 7 machines all is looking good, not sure what is the problem, 
but definitely not happening to me.

Please test the new installer

Original comment by heldersepu on 27 Sep 2011 at 6:49

GoogleCodeExporter commented 9 years ago
That is strange as I had said installed version was ok. there was nothing wrong 
detected in the code when I was trouble-shooting it. Maybe python.exe take a 
longer time to process those events. I should ignore this bug then :)

Original comment by benx...@gmail.com on 27 Sep 2011 at 9:14

GoogleCodeExporter commented 9 years ago
Maybe is something on your version that you have not committed to the trunk 
yet...

Original comment by heldersepu on 27 Sep 2011 at 9:17

GoogleCodeExporter commented 9 years ago
ok, commiting the latest changes

Original comment by benx...@gmail.com on 27 Sep 2011 at 9:38

GoogleCodeExporter commented 9 years ago
after getting your changes I'm getting errors:

Traceback (most recent call last):
  File "F:\GMapCatcher\maps.py", line 979, in expose_cb
    self.draw_overlay()
  File "F:\GMapCatcher\maps.py", line 1063, in draw_overlay
    self.segment_no, self.ruler_coordx, self.ruler_coordy, self.ruler_coordz
TypeError: draw_overlay() takes at most 13 arguments (17 given)

Original comment by heldersepu on 27 Sep 2011 at 10:49

GoogleCodeExporter commented 9 years ago
Committed all now, had to do it manually and compare each line.

Original comment by benx...@gmail.com on 27 Sep 2011 at 11:10

GoogleCodeExporter commented 9 years ago
now is even worst...

Traceback (most recent call last):
  File "F:\GMapCatcher\maps.py", line 36, in <module>
    from gmapcatcher.widDrawingArea import DrawingArea
  File "F:\GMapCatcher\gmapcatcher\widDrawingArea.py", line 188
    self.wr_pltxt(gc,x,y,self.pangolayout)(self, gc, from_coord, to_coord, zl):
                                                                              ^
SyntaxError: invalid syntax

Original comment by heldersepu on 27 Sep 2011 at 11:13

GoogleCodeExporter commented 9 years ago
Still double-click event is not happening here, even after I create the 
installer :( Hope it is not giving any errors.

Original comment by benx...@gmail.com on 27 Sep 2011 at 11:13

GoogleCodeExporter commented 9 years ago
(self, gc, from_coord, to_coord, zl): 

was a relic from the past :)

Original comment by benx...@gmail.com on 27 Sep 2011 at 11:17

GoogleCodeExporter commented 9 years ago
4:45 am here :) Will wait for your report and then go to sleep.

Original comment by benx...@gmail.com on 27 Sep 2011 at 11:18

GoogleCodeExporter commented 9 years ago
All looks good now! and the double-click event is OK 

Original comment by heldersepu on 27 Sep 2011 at 11:29

GoogleCodeExporter commented 9 years ago
I just tested on a new laptop with the latest version of Python and GTK and I'm 
experiencing this same issue!

For now I will stick to the previously tested versions:
http://code.google.com/p/gmapcatcher/source/browse/trunk/installer/setup.bat?r=1
090

Original comment by heldersepu on 13 Oct 2011 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by heldersepu on 30 Sep 2012 at 8:09