Wed, May 17 2006
13:22:16
|
|
Request created by guest
|
|
Subject: d.m: mouse scroll error in main GIS Manager window
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-05-17
Trying to use the mouse scroll in main GIS Manager (d.m) window causes an error:
can't read "bind_scroll_list": no such variable
can't read "bind_scroll_list": no such variable
while executing
"foreach window $bind_scroll_list {
if {![winfo exists $window]} {
set window_gone 1
continue
}
if {![..."
(procedure "handle_scroll" line 8)
invoked from within
"handle_scroll -120"
(command bound to event)
Maciek
|
|
Wed, Jul 26 2006
18:36:53
|
|
User changed to tutey@o2.pl by msieczka
|
|
Wed, Jul 26 2006
18:40:31
|
|
Mail sent by msieczka
|
|
I can still reproduce the bug in current CVS:
1. d.m
2. hover mouse over d.m
3. use scroll
4. error:
can't read "bind_scroll_list": no such variable
can't read "bind_scroll_list": no such variable
while executing
"foreach window $bind_scroll_list {
if {![winfo exists $window]} {
set window_gone 1
continue
}
if {![..."
(procedure "handle_scroll" line 8)
invoked from within
"handle_scroll -120"
(command bound to event)
Maciek
|
|
Mon, Jul 31 2006
22:10:52
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Mon, 31 Jul 2006 22:10:50 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Maciek Sieczka via RT <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4466] (grass) d.m: mouse scroll error in main GIS Manager window
|
Message-ID |
<20060731201050.GC8229@bartok.itc.it>
|
Mail-Followup-To |
Maciek Sieczka via RT <grass-bugs@intevation.de>, grass-dev@grass.itc.it
|
References |
<20060726164032.0520C100159@lists.intevation.de>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
In-Reply-To |
<20060726164032.0520C100159@lists.intevation.de>
|
X-PGP-Key |
http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
|
X-PGP-Fingerprint |
D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
|
User-Agent |
Mutt/1.5.11
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.817 tagged_above=-999 required=3 tests=[AWL=0.917, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
|
X-Spam-Level |
|
On Wed, Jul 26, 2006 at 06:40:32PM +0200, Maciek Sieczka via RT wrote:
> I can still reproduce the bug in current CVS:
>
> 1. d.m
> 2. hover mouse over d.m
> 3. use scroll
> 4. error:
>
> can't read "bind_scroll_list": no such variable
> can't read "bind_scroll_list": no such variable
> while executing
> "foreach window $bind_scroll_list {
> if {![winfo exists $window]} {
> set window_gone 1
> continue
> }
> if {![..."
> (procedure "handle_scroll" line 8)
> invoked from within
> "handle_scroll -120"
> (command bound to event)
>
> Maciek
This cures it:
cvs diff
cvs server: Diffing .
Index: d.m.tcl
===================================================================
RCS /home/grass/grassrepository/grass6/gui/tcltk/d.m/d.m.tcl,v
retrieving revision 1.6
diff -u -r1.6 d.m.tcl
--- d.m.tcl 26 Jun 2006 22:16:15 -0000 1.6
+++ d.m.tcl 31 Jul 2006 20:09:54 -0000
@@ -389,6 +389,7 @@
$options_sw setwidget $options_sf
set options [$options_sf getframe]
pack $options_sw -fill both -expand yes
+ bind_scroll $options_sf
# output
set output_pane [$pw2 add -minsize 50 -weight 1 ]
I dunno tcltk, just did evolutionary programming by looking at
gis.m. Will commit it.
Markus
|
|
Mon, Jul 31 2006
22:14:05
|
|
Status changed to resolved by mneteler
|
|