| Ticket UUID: | 1591494 | |||
| Title: | unixSelect 1.4, 1.5, 1.6 failure on tk cvs head | |||
| Type: | Bug | Version: | obsolete: 8.5a5 | |
| Submitter: | lvirden | Created on: | 2006-11-06 17:16:04 | |
| Subsystem: | 67. Unix Window Operations | Assigned To: | jenglish | |
| Priority: | 1 Zero | Severity: | ||
| Status: | Closed | Last Modified: | 2006-12-27 10:20:07 | |
| Resolution: | None | Closed By: | sf-robot | |
| Closed on: | 2006-12-27 03:20:07 | |||
| Description: |
tk 8.5 cvs head built with solaris 9 sun c compiler and
test suite display via exceed 10.0.0.12 on win xp
unixSelect.test
==== unixSelect-1.4 TkSelGetSelection procedure: simple
i18n text, iso2022 FAILED
==== Contents of test case:
setupbg
setup
selection handle -type COMPOUND_TEXT -format
COMPOUND_TEXT . {handler COMPOUND
_TEXT}
selection own .
set selValue \u00fc\u0444
set selInfo {}
set result [dobg {
set x [selection get -type COMPOUND_TEXT]
list [string equal \u00fc\u0444 $x] [string
length $x] [string bytelength
$x]
}]
cleanupbg
lappend result $selInfo
---- Result was:
1 2 4 {COMPOUND_TEXT 0 4000 COMPOUND_TEXT 0 4000}
---- Result should have been (exact matching):
1 2 4 {COMPOUND_TEXT 0 4000}
==== unixSelect-1.4 FAILED
==== unixSelect-1.5 TkSelGetSelection procedure: INCR
i18n text, iso2022 FAILED
==== Contents of test case:
# This test is subtle. The selection ends up
getting fetched twice by
# Tk: once to compute the length, and again to
actually send the data.
# The first time through, we don't convert the data
to ISO2022, so the
# buffer boundaries end up being different in the
two passes.
setupbg
setup
selection handle -type COMPOUND_TEXT -format
COMPOUND_TEXT . {handler COMPOUND
_TEXT}
selection own .
set selValue [string repeat x
3999]\u00fc\u0444[string repeat x 3999]
set selInfo {}
set result [dobg {
set x [selection get -type COMPOUND_TEXT]
list [string equal [string repeat x
3999]\u00fc\u0444[string repeat x 3999
] $x] [string length $x] [string bytelength $x]
}]
cleanupbg
lappend result $selInfo
---- Result was:
1 8000 8002 {COMPOUND_TEXT 0 4000 COMPOUND_TEXT 4000
3999 COMPOUND_TEXT 7998 4000 C
OMPOUND_TEXT 0 4000 COMPOUND_TEXT 4000 3999
COMPOUND_TEXT 7998 4000 COMPOUND_TEXT 0
4000 COMPOUND_TEXT 4000 3998 COMPOUND_TEXT 7997 4000}
---- Result should have been (exact matching):
1 8000 8002 {COMPOUND_TEXT 0 4000 COMPOUND_TEXT 4000
3999 COMPOUND_TEXT 7998 4000 C
OMPOUND_TEXT 0 4000 COMPOUND_TEXT 4000 3998
COMPOUND_TEXT 7997 4000}
==== unixSelect-1.5 FAILED
==== unixSelect-1.6 TkSelGetSelection procedure: simple
i18n text, iso2022 FAILED
==== Contents of test case:
setupbg
setup
selection handle -type COMPOUND_TEXT -format
COMPOUND_TEXT . {handler COMPOUND
_TEXT}
selection own .
set selValue \u00fc\u0444
set selInfo {}
set result [dobg {
set x [selection get -type COMPOUND_TEXT]
list [string equal \u00fc\u0444 $x] [string
length $x] [string bytelength
$x]
}]
cleanupbg
lappend result $selInfo
---- Result was:
1 2 4 {COMPOUND_TEXT 0 4000 COMPOUND_TEXT 0 4000}
---- Result should have been (exact matching):
1 2 4 {COMPOUND_TEXT 0 4000}
==== unixSelect-1.6 FAILED
| |||
| User Comments: |
sf-robot added on 2006-12-27 10:20:07:
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). lvirden added on 2006-11-13 20:11:10: Logged In: YES user_id=15949 what does "missing encodings" mean? I have installed the tcl 8.5 cvs head that matches this tk. If something is missing, it would be missing from that tcl, right? Just confused on what this is all about. jenglish added on 2006-11-13 07:36:47: Logged In: YES user_id=68433 Can't replicate; possibly due to missing encodings? Since these tests are about COMPOUND_TEXT selection targets (which should be considered obsolete), this is low-priority unless and until any actual related end-user problems are found. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki