From: Alexander Gavrilov Date: Tue, 11 Nov 2008 11:00:03 GMT Subject: Re: [PATCH (GITK) v3 6/6] gitk: Explicitly position popup windows. Message-ID: In-Reply-To: <18708.11537.229423.296701@cargo.ozlabs.ibm.com> On Fri, Nov 7, 2008 at 2:57 PM, Paul Mackerras wrote: > Alexander Gavrilov writes: > >> For some reason, on Windows all transient windows are placed >> in the upper left corner of the screen. Thus, it is necessary >> to explicitly position the windows relative to their parent. >> For simplicity this patch uses the function that is used >> internally by Tk dialogs. > > Is there any reason to call tk::PlaceWindow under Linux or MacOS? > If not I'd rather add an if statement so we only call it on Windows. I checked it on MacOS, and there the consequences of wm transient are even worse that on Windows, so scrap this patch -- I'll redo it to fix both cases. Alexander