Forum > Designer

[BUG] Access Violation on invalid Align value

(1/2) > >>

Eugene Loza:
Access Violation error on inputting an invalid Align value.

Steps to reproduce the bug:
1. Start a fresh Application.
2. Switch to Form Editor.
3. Put any control on the form (I've tested for TButton and TGroupBox)
4. Edit Align and delete a symbol there (e.g. alCustom -> lCustom)
5. Push Enter.
6. Get Access Violation Error
the Lazarus cannot work properly further, showing Access Violation every time something is edited at the Form Editor.

Lazarus 1.8.0RC3 FPC 3.0.3 Debian Jessie 64 bit.

Almir.Bispo:
This is not a bug,but a bad use.Don't put a empty value because is not permited

Noodly:
@Almir.Bispo

Any program that crashes for any reason has a bug - except O/S or hardware failure.

All programs should cater for any input or sequence of events without crashing and at the very worst show an accurate error message before gracefully exiting.

SunyD:
I can't confirm that with Lazarus 1.6.4 and 1.8 RC 4 on windows 7.
When I write wrong value i.e. lcustom or blabla it changes to alCustom.
Maybe Linux or gtk problem.

wp:

--- Quote from: Soner A. on September 08, 2017, 09:35:16 pm ---I can't confirm that with Lazarus 1.6.4 and 1.8 RC 4 on windows 7.
When I write wrong value i.e. lcustom or blabla it changes to alCustom.
Maybe Linux or gtk problem.

--- End quote ---
Same behavior (i.e., no error) on Linux Mint 18.1 KDE 32-bit / Laz trunk / fpc 3.02

Navigation

[0] Message Index

[#] Next page

Go to full version