Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-06

TForm.OnChangeBounds - Windows vs Linux-Qt

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gabor Boros

Hi All,

Form's OnChangeBounds event fired in different time and number on these platforms. Attached a simple example. On Windows the event firing meanwhile form moving and with Linux-Qt just when the moving ended. At a form maximize or restore with Linux-Qt the event fired twice.

Where these come form? Simple platform difference or bug?

Gabor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Form_ChangeBounds.tar.gz
Type: application/x-gzip
Size: 1496 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170629/8fc282e1/attachment.bin>

Reply by email

Mattias Gaertner
to Gabor Boros
Show quoted text 8 lines
Hi All, Form's OnChangeBounds event fired in different time and number on these platforms. Attached a simple example. On Windows the event firing meanwhile form moving and with Linux-Qt just when the moving ended. At a form maximize or restore with Linux-Qt the event fired twice. Where these come form? Simple platform difference or bug?

Platform differences. Windows has an option for that: Search for 'Show window contents while dragging' option.

Most Linux window managers have that too.

Mattias

Reply by email