Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0014835 [Lazarus] IDE minor always 2009-10-17 23:22 2009-12-30 21:14
Reporter Luiz Americo View Status public  
Assigned To Mattias Gaertner
Priority normal Resolution open  
Status feedback   Product Version
Summary 0014835: Property of a frame child control is reset in the frame parent
Description Steps to get the error:

1) Create an empty project
2) Save the project
3) Create a frame and add a TDbf component. Save all
4) Add the frame to the form and some code to check the dbf1.tablename property. Save all
5) Run the project. Tablename is ""
6) Change Dbf1.Tablename property to "newtablename". Save all
7) Run the project. Tablename is "newtablename"
8) Resize the form1. Save all.
9) Run the project. Tablename is ""

In TForm1, the Dbf1.Tablename property is override with "". See the lfm file.

Attached is the resulted project of the above steps.

Lazarus 0.9.29 r22198 FPC 2.2.4 i386-win32-win32/win64
Additional Information
Tags No tags attached.
Fixed in Revision
LazTarget 0.9.30
Widgetset
Attached Files zip file icon FrameError1.zip [^] (3,502 bytes) 2009-10-17 23:22

- Relationships

-  Notes
(0031559)
Luiz Americo (developer)
2009-10-21 20:21

I'd like to point that this is not a corner case bug. I've been using frames extensively since when it was implemented and i hit this bug several times. In fact it leads to strange behaviors (events not firing, data controls not showing content) that are difficult to debug (i lost some hours with such bugs) even to someone with some knowledge of Lazarus/LCL (i use Lazarus since when the win32 version led to a blue screen of death).
So i think that the bug should be targeted to the next release because as soon as people use this feature, they will get in trouble.
(0033321)
Paul Ishenin (manager)
2009-12-26 05:19

Imo this was fixed. Is it so for you, Luiz?
(0033335)
Luiz Americo (developer)
2009-12-26 18:34

This is issue is still present. I executed again the steps above with the same result and i'm getting this problem in my projects frequently since i use a lot frames.
(0033403)
Mattias Gaertner (manager)
2009-12-30 21:14

I open the attached project.
I remove the '' line.
I open the designer, resize, save.
No '' line is created.
Run project: Tablename is "newtablename"

This means: I can not reproduce the issue with FPC 2.5.1.

Luiz: please test with fpc 2.5.1.

- Issue History
Date Modified Username Field Change
2009-10-17 23:22 Luiz Americo New Issue
2009-10-17 23:22 Luiz Americo File Added: FrameError1.zip
2009-10-20 21:21 Vincent Snijders LazTarget => 1.0
2009-10-20 21:21 Vincent Snijders Assigned To => Mattias Gaertner
2009-10-20 21:21 Vincent Snijders Status new => assigned
2009-10-20 21:21 Vincent Snijders Target Version => 1.0.0
2009-10-21 20:21 Luiz Americo Note Added: 0031559
2009-12-26 05:19 Paul Ishenin LazTarget 1.0 => 0.9.30
2009-12-26 05:19 Paul Ishenin Note Added: 0033321
2009-12-26 05:19 Paul Ishenin Status assigned => feedback
2009-12-26 05:19 Paul Ishenin Target Version 1.0.0 => 0.9.30
2009-12-26 18:34 Luiz Americo Note Added: 0033335
2009-12-30 21:14 Mattias Gaertner Note Added: 0033403



Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker