[GRASS-dev] [grass-code I][451] "place with mouse" gets confused when placing several different layers

grass-dev at grass.itc.it grass-dev at grass.itc.it
Wed Aug 1 07:21:06 EDT 2007


code I item #451, was opened at 2007-08-01 13:21
Status: Open
Priority: 3
Submitted By: Moritz Lennert (moritz)
Assigned to: Nobody (None)
Summary: "place with mouse" gets confused when placing several different layers 
Issue type: module bug
Issue status: None
GRASS version: CVS HEAD
GRASS component: tcl/tk GUI
Operating system: Linux
Operating system version: Debian Etch
GRASS CVS checkout date, if applies (YYMMDD): 070801


Initial Comment:
The "place with mouse" option in the tcl/tk GUI seems to get confused when placing several different types of layers.

1) Place a text with the mouse, then place a ps-text with the mouse. If you then select the text-layer again and replace it with the mouse, it disappears.

2) Place a ps-text with the mouse, then place a text with the mouse. If you then select the ps-text layer againg and replace it with the mouse, it will appear at the wrong place.

3) Place a text, then place a scalebar. When you select the text again and try to place it, the following error appears. The same (or very similar) happens with different combinations of scalebar and text or ps-text.

invalid command name ".mainframe.frame.pw1.f1.frame.sw.sf.frame.fr.at2.b"
invalid command name ".mainframe.frame.pw1.f1.frame.sw.sf.frame.fr.at2.b"
    while executing
"$pctentry delete 0 end"
    invoked from within
"if { $pctentry != "" } {
			$pctentry delete 0 end
			$pctentry insert 0 "$xpct,$ypct"
			# object placement marker
			$mapdisp create line 167 [expr ..."
    (command bound to event)


Moritz

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=451&group_id=21




More information about the grass-dev mailing list