(0,0) placement of new windows - sometimes
Scott Tringali
scott.tringali at totalviewtech.com
Tue Oct 2 17:22:48 CEST 2007
Ivan Skytte Jørgensen wrote:
> I experience that nedit sometimes (20%-60% of the time) ignores any placement
> hints from the window manager.
Actually, it's the other way around. The window manager reads the
placement hints from the application.
We actually (go to great lengths) to disable the placement hint when
it's 0, 0 to avoid this situation. If I'm on :0.0, I verify this with
xprop:
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 281, 0
program specified size: 678 by 831
program specified minimum size: 34 by 90
program specified resize increment: 7 by 13
program specified base size: 27 by 77
window gravity: NorthWest
Note the lack of "program specified location":
For some reason, when I display on :0.1, the behavior is different, even
though the code is the same:
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 0, 0
program specified size: 587 by 571
program specified minimum size: 34 by 64
program specified resize increment: 7 by 13
program specified base size: 27 by 51
window gravity: NorthWest
I suspect a Motif bug here and we'll have to install another workaround.
KDE seems smart enough to ignore that bad hint, but maybe sometimes it
isn't. Try control > Desktop > Window-Specific Settings > New. Detect
NEdit. On workarounds, select "Ignore Requested Geometry" and set to
Force, checked. Does this help?
More information about the Discuss
mailing list