What are the errors ? Michael.
On Thu, 2002-09-19 at 09:03, Tony Maro wrote: > > Anyway, it's fairly consistently happening (during any 4 hours of > programming) but I can't tell you any one thing to do to trigger it.
I have downloaded your program. I found some gtk warnings and some other small issues, which I have fixed. But still no buggy renaming. Your hints:
Show quoted text 6 lines
The .lrs file? You have edited the .lrs file manually? Do you mean the .lfm file?
The more controls on a form the more likely it is to happen.
Hmm ...
Adding controls and then drag-sizing and drag-positioning seems to trigger it, but I'm not sure.
Yes, there is a bug in drag moving, but I'm not sure if this results in renaming components.
If you delete the affected control, the next control that gets shifted into that spot is likely to corrupt almost immediately.
Hmm ...
I constantly save all and build all when programming, that may affect it.
This probably reduces the errors.
It doesn't seem to affect the currently open copy in the editor, but it DOES affect the built app and the next time you open the editor it will throw errors.
Makes sense.
It is NOT because I have a bitmap or other graphic stored in the resource. In fact I even took out all bitbtn's when you guys started working on the streaming code for bitmaps.
ok
I actually think the editor has detected the changes before because once or twice when I've had the editor open it has flagged that a file changed while I had it open even though I hadn't changed anything.
What files were flagged and were they opened?
The corruption seems to start in the .lrs file but will ultimately be mirrored in the .lfm file as well (perhaps the next time you open the project?)
Now that is strange. The .lfm file and the .lrs file are always saved together. And the .lfm file is created after the .lrs file. So, the error should always be in both.
Show quoted text 5 lines
Tricky. I have not yet seen it. Maybe I should add some consistency checks for the designer so you can find the bugs earlier ...
Show quoted text 8 lines
:)
Mattias
