From: Arnout E. <no...@bz...> - 2011-02-19 03:41:40
|
Hi, Some applications show dialogs that are incorrectly placed - they might even position them off-screen. To move around transient popups, modifying the 'attrs' (for example at ioncore/clientwin.c:543) will affect where the window shows up. For 'non-transient dialogs', however, this does not appear to affect the window location - I hope I'm getting the terminology right here: I mean a dialog without its own titlebar whose location is constrained to be in its parents' frame (but which can be moved freely within the frame). An example program exhibiting the problem is attached - run it with 'java MisplacedDialogContainer2' (java 1.6). The popup is shown too far to the right and/or too far to the bottom when the container frame is not in the top-left frame of the screen. What would be the proper way to influence where this dialog is placed when mapped? Kind regards, Arnout |