Tcl Source Code

View Ticket
Login
Ticket UUID: 43c7836105381e643fe62c772fa2f1c6f5e2b5bc
Title: set wm geometry fails from a script
Type: Bug Version: GNU/Linux
Submitter: anonymous Created on: 2014-02-17 23:21:31
Subsystem: - New Builtin Commands Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2014-02-18 07:07:37
Resolution: Invalid Closed By: dkf
    Closed on: 2014-02-18 07:07:37
Description:
Version #1 SMP Mon Nov 11 03:23:58 EST 2013

All my widgets started popping up at +0+0 a while back. I have a simple example that fails on my Linux.

-----------------------------
#!/bin/sh
# \
exec /usr/bin/wish "$0" ${1+"$@"}

wm geometry . 300x200+500+200
wm title . "The tk_wm problem!"
------------------------------

This window pops ups at +0+0.


However, the above commands work from a wish command line, as follows:

Linux -> /usr/bin/wish
% wm geometry . 300x200+500+200
% wm title . "The tk_wm problem!"

This window pops up at +500+200.
User Comments: dkf added on 2014-02-18 07:07:37:

Migrated to http://core.tcl.tk/tk/tktview?name=1ce993240c


dkf added on 2014-02-18 07:02:10:

Did you mean to file this ticket at http://core.tcl.tk/tk/tktnew?