Opened 13 years ago

Closed 13 years ago

#756 closed defect (fixed)

Dragging instead of just clicking for profile transect and measurement zooms window

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: wxGUI Version: unspecified
Keywords: profile measure mousedrag Cc: martin
CPU: All Platform: Unspecified


If you drag with the mouse to create a line for a profile transect or measurement line, instead of just clicking the nodes, it can zoom the display.

Change History (5)

comment:1 by cmbarton, 13 years ago

Cc: martin added
Resolution: fixed
Status: newclosed

Fixed in develbranch_6 r39258. Please test in other platforms. If it works OK, it should be backported to 6.4 RB.


comment:2 by neteler, 13 years ago

Resolution: fixed
Status: closedreopened

Please keep it open if it should be backported.

comment:3 by cmbarton, 13 years ago

This was backported to 6.4 and fixed. BUT it is broken again in 6.5 (and I assume 7). It is related to the problem I reported in #796.


comment:4 by cmbarton, 13 years ago

Here the error that is raised: * * Traceback (most recent call last):

File "/Users/cmbarton/grass_dev/grass6_src/dist.i386

-apple- darwin9.8.0/etc/wxpython/gui_modules/", line 1057, in MouseActions


File "/Users/cmbarton/grass_dev/grass6_src/dist.i386

-apple- darwin9.8.0/etc/wxpython/gui_modules/", line 1147, in OnDragging


File "/Users/cmbarton/grass_dev/grass6_src/dist.i386

-apple- darwin9.8.0/etc/wxpython/gui_modules/", line 960, in MouseDraw

self.Draw(pdc, drawid=self.lineid, pdctype='line', coords=mousecoords)

File "/Users/cmbarton/grass_dev/grass6_src/dist.i386

-apple- darwin9.8.0/etc/wxpython/gui_modules/", line 349, in Draw

wx.Point(coords[2], coords[3]))

File "usr/local/lib/wxPython-

unicode- unicode/wx/", line 7209, in DrawLine

return _gdi_.PseudoDC_DrawLine(*args, kwargs) TypeError : PseudoDC_DrawLine() takes exactly 5 arguments (3 given)

comment:5 by cmbarton, 13 years ago

Resolution: fixed
Status: reopenedclosed

Fixed for me and no one else has reported problems.

Note: See TracTickets for help on using tickets.