[Lazarus] IDE window positions

Ludo Brands ludo.brands at free.fr
Sat Feb 2 13:20:05 CET 2013


On 02/02/2013 12:36 PM, zeljko wrote:

> 
> hm...do you use compositing manager ? If yes, can you disable it and then make 
> an trial to see if positions are ok ?
KWin with the XRender compositing backend. Default for kubuntu. When
disabling desktop effects the problem is gone.

The problem seems also timing related. When lazarus build with
-dVerboseIDEDocking -dCHECK_POSITION, lazarus was showing the windows in
the correct position at the 2nd restart. Without it, 3 sometimes 4
restarts were needed. When build with -dVerboseIDEDocking
-dCHECK_POSITION -dVerboseAllAutoSize which produces many more debug
lines, lazarus started up correctly the first time. The wrong WMSize
messages reported earlier weren't in the longer log.

> There's one big problem with gtk2 and compositing manager and geometry 
> (resize) changes. Without compositing resize events of form are passed 
> correctly (as gtk2 docs says), but with compositing manager you have x5 resize 
> events and it's very hard to get out which one is correct.
> 
This doesn't really explain why a second or third run of the application
fixes the issue.

thanks,

Ludo




More information about the Lazarus mailing list