[Lazarus] Form resize to standard size in IDE.

Fabio Luis Girardi fluisgirardi at gmail.com
Sun May 7 20:35:46 CEST 2017


I (and others co-workers) have experienced the same behavior on Linux mint
cinnamon 17.3 when Lazarus is built using gtk2 (using Lazarus 1.4, 1.6,
fixes and trunk). This strange behavior disappeared when Lazarus is built
with QT.

The cinnamon looking glass can provide some debug information about this.
I'll try reproduce this tomorrow, to collect the cinnamon debug info.

Em 7 de mai de 2017 14:40, "zeljko via Lazarus" <
lazarus at lists.lazarus-ide.org> escreveu:

> On 05/07/2017 06:24 PM, Michael Van Canneyt wrote:
>
>>
>>
>> On Sun, 7 May 2017, zeljko wrote:
>>
>>
>>>>> If you suspect on HiDPI then you should disable scaling at application
>>>>> level (lazaruside) via Application.Scaled := False (or similar prop
>>>>> name) . In that case TCustomForm.Scaled should not be taken into
>>>>> account in any case.
>>>>>
>>>>
>>>> Is there a command-line option for the IDE to disable this ? It seems
>>>> silly to me that I would have to modify the IDE sources every time I do
>>>> a SVN update?
>>>>
>>>
>>> AFAIK not.
>>>
>>>
>>>> Second thing: I assume that you're using Gtk2 ide. What is
>>>>> windowmanager ? Does it run compositing ?
>>>>>
>>>>
>>>> I don't know. I use a standard Linux Mint using Cinnamon desktop.
>>>>
>>>
>>> Then compositing is on, and that's probably cause of problems.
>>>
>>
>> Can you explain why this would cause problems ?
>>
>
> Don't know, tried to fix that inside gtk2 many times, besides that on some
> wm's + compositing sizes are ok, on some not. Really don't know.
> Using qtlcl for work and don't have such problems. See gtk2wsforms.pp and
> stuff about form events ...
>
> zeljko
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170507/88478bf1/attachment.html>


More information about the Lazarus mailing list