On Mon, 8 May 2017, zeljko wrote:

On 08.05.2017 15:51, Michael Van Canneyt wrote:


How can I investigate this ? Where can/should I put some writelns to see
what is happening ?

I don't mind helping out, but I need some pointers where to start.

Gtk2WSForms.pp , line 168 see my comment about it. Seem that it's your
problem (my comment is about Mint16 WM + compositing).
Can you see if your wm name fits into
 if (Copy(Gtk2WidgetSet.GetWindowManager,1,6) = 'mutter') then ...
Just put writeln('WM=',Gtk2WidgetSet.GetWindowManager) above that statement.

I did that. I added a print of the GDK geometry.

gdk geometry : 10,33,320,240
Warning: GDK_CONFIGURE: Designed form is misconfigured because of bad 
compositing manager (see issue #25473).
Warning: GDK_CONFIGURE: Fixing problem by setting current LCL values 
l=655,t=220,r=1152,b=461
WM=mutter (muffin)
gdk geometry : 10,33,320,240

At the following point I clicked the TLAbel button on the component palette,
and the form was again resized to something 'too small':

WM=mutter (muffin)
gdk geometry : 10,33,497,241
AddComponent TLabel Parent=ReportPropertiesForm:TReportPropertiesForm 38,140,0,0
Parent is 'ReportPropertiesForm:TReportPropertiesForm'
TObjectInspectorDlg.FillPersistentComboBox: Updating ComboBox with components
WM=mutter (muffin)
gdk geometry : 10,33,320,241
WM=mutter (muffin)
gdk geometry : 10,33,320,240

The X,Y are of course completely bogus.

After this, I disabled compositing in Mint, and the situation is slightly
better. Now the window doesn't resize so much any more, but it still
resizes.

So the "if Gtk2WidgetSet.compositeManagerRunning then" can be removed in fact.


Anything else I can do ? (except dumping linux mint, obviously...)

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to