Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-06
02:49 • Closed ticket [221107ffff]: Tk _may_ crash, if first char of -label is an &quot... artifact: d975de4468 user: dgp
2000-11-06
22:18 • Ticket [221107ffff]: 4 changes artifact: feb441fcc0 user: dkf
2000-11-02
14:19 • New ticket [221107ffff]. artifact: e0ff549e40 user: nobody

Tk _may_ crash, if first char of -label is an "Umlaut"

Closed / Invalid221107ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-11-02 14:19:36
This bug _may_ (very seldomly) crash Tk (8.2.3) on Windows,
if the first charater of a menuentry (option -label) and probably
other texts (as of buttons or labels) is a german "Umlaut" (öäüÜÖÄ or ß).

Example: 
. configure -menu [menu .m]
.m add cascade -menu .m.tup  -label Tupel 
menu .m.tup
.m.tup add command -label öffnen  

You may not have encountered it at all, since the Windows
error dialog shows this error in "GDI":
- only on 2 machines out of a set of 20
- only after serveral attempts, but after the first raised error at
   every startup

Is this a difference between the number of bytes and
the number of characters, that has not taken into account on the
first charater (i.e. "-label öffnen" crashes, "-label xöffnen" does not)?
dkfplain2000-11-06 22:18:11
I don't see the problem at all in 8.3.2 under X/Unix.  Perhaps it is related to the Windows native menu handling layer?
dgpplain2001-04-06 02:49:36
Logged In: YES 
user_id=80530

If this is a bug, looks like it's in Tk or Windows itself.
Please resubmit to the TkToolkit project.
Log in (anonymous is fine) to add a comment.