Tk Source Code

View Ticket
Login
Ticket UUID: 220154
Title: "bind . <Configure>" behaves differently accross window managers:
Type: Bug Version: obsolete: 8.1b2
Submitter: welch Created on: 2000-10-31 22:41:11
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2000-11-01 05:41:12
Resolution: Invalid Closed By: welch
    Closed on: 2000-10-31 22:41:12
Description:
OriginalBugID: 1648 Bug
Version: 8.1b2
SubmitDate: '1999-03-26'
LastModified: '1999-04-06'
Severity: MED
Status: Closed
Submitter: admin
ChangedBy: surles
OS: Solaris
OSVersion: NA
Machine: NA
FixedInVersion: NA
ClosedDate: '1999-04-06'


I ran the following script on solaris, and I got the following
differring results:

On openWin:
   A(.) = 0
   A(.) = 3

On CDE:
   A(.) = 0
   A(.) = 2

# beginning of script
bind . <Configure> {incr A(%W)}
set A(.) 0
foreach i {0 1 2} {
    frame .$i -width 100 -height 75
    set A(.$i) 0
}
puts "A(.) = $A(.)"
grid .0 .1 .2
update
puts "A(.) = $A(.)"
# end of script


There is a test in grid.test that is mark with this bugid; ideally it should not be marked nonPortable...
---
This is defined behavior.  The interface between different wm's will always very.  04/06/1999 14:41 - surles -