Tk Source Code

View Ticket
Login
Ticket UUID: 1ce993240c082f85b8226a6d60d0d76590c83a47
Title: set wm geometry fails from a script
Type: Bug Version: GNU/Linux
Submitter: dkf Created on: 2014-02-18 07:05:15
Subsystem: 67. Unix Window Operations Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2014-02-18 07:06:14
Resolution: None Closed By: nobody
    Closed on:
Description: (text/html)
Version #1 SMP Mon Nov 11 03:23:58 EST 2013
<p>
All my widgets started popping up at +0+0 a while back. I have a simple example that fails on my Linux.
<pre>
#!/bin/sh
# \
exec /usr/bin/wish "$0" ${1+"$@"}

wm geometry . 300x200+500+200
wm title . "The tk_wm problem!"
</pre>
This window pops ups at +0+0.
<p>
However, the above commands work from a wish command line, as follows:
<pre>
Linux -> /usr/bin/wish
% wm geometry . 300x200+500+200
% wm title . "The tk_wm problem!"
</pre>
This window pops up at +500+200.
User Comments: dkf added on 2014-02-18 07:06:14: (text/x-fossil-wiki)
Migrated from [http://core.tcl.tk/tcl/tktview?name=43c7836105]