Tk Source Code

View Ticket
Login
Ticket UUID: 528330
Title: geometry X resource ignored
Type: Bug Version: obsolete: 8.4a4
Submitter: markgsaye Created on: 2002-03-11 03:08:31
Subsystem: 48. Geometry Management Assigned To: chengyemao
Priority: 5 Medium Severity:
Status: Open Last Modified: 2002-03-11 03:08:31
Resolution: None Closed By:
    Closed on:
Description:
> xrdb -query | grep Wish
Wish.geometry:  400x300
> wish
Wish
% tk appname
wish
% option get . geometry Geometry
400x300
% wm geometry .
200x200+813+25
% winfo geometry .
200x200+813+25

The window should be positioned according to its
geometry resource.

Workaround:

Put this at the start of the script:

set g [option get . geometry Geometry]
if { $g != "" } { wm geometry . $g }