Sign in Join

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

Mailing lists / lazarus / 2002-11

Detail for "Bug with save project contain TListView..."

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Andrew Velikoredchanin
to Andrew Velikoredchanin: For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. But this is only if…
Mattias Gaertner wrote 14 lines
On Thu, 14 Nov 2002 18:08:27 +0300 Andrew Velikoredchanin wrote: >For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. >But this is only if TListView inserted in TPage (TNoteBook). > > Hmm, seems to work. Can you plz describe in more detail what you have done?

This is for linux Lazarus in cvs.

Reply by email

andrew johnson
to Andrew Velikoredchanin: For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. But this is only if…

That is what most of us are using. Linux is the main development platform, so the developers(Mattias, Marc, etc) will all be using this. When a bug is reported, unless OS (win32, *BSD) specific, it will first be tested against current CVS ON Linux. Mattias needs details about the steps you took to procure this bug, so that he can attempt to duplicate it. Be as specific as possible, and possibly supply an example which shows the bug. If possible try and duplicate the bug yourself on a new project, and if you can send the sources and exactly what steps you took to make it, it is far more likely that the bug can be found and fixed.

Andrew

Andrew Velikoredchanin wrote 23 lines
Mattias Gaertner wrote: >On Thu, 14 Nov 2002 18:08:27 +0300 >Andrew Velikoredchanin wrote: > > > >>For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. >>But this is only if TListView inserted in TPage (TNoteBook). >> >> > >Hmm, seems to work. >Can you plz describe in more detail what you have done? > > This is for linux Lazarus in cvs. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Andrew Velikoredchanin

For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. But this is only if TListView inserted in TPage (TNoteBook).

Reply by email

Mattias Gaertner
to Andrew Velikoredchanin
Show quoted text 11 lines
andrew johnson wrote: OK! More detail for bug with TListView and TNoteBook: 1. Start "lazarus"; 2. Create new project - "Application"; 3. Add on Form1 element "Additional"->"TNoteBook"; 4. Add 2 pages in "Notebook1"; 5. On secont TPage add "Common Controls" -> "TListView"; 6. For "Listview1" press on "..." button for "COLUMNS" property in object inspector; 7. Press "Add" for add 3 columns;

3 or more columns. That's it.
There was a buffer overrun.
Fixed.

Mattias

Show quoted text 89 lines
8. Change default caption "Caption" on "Caption1", "Caption2" and "Caption3"; 9. Press "OK" in Columns editor; 10. Press "Save All..." icon on main lazarus window (menu and tool panel window); 11. After this I close lazarus. After close I get errors in console: ======================================================== ... TMainIDE.DoSaveProject End TMainIDE.DoCloseEditorFile A PageIndex=0 An unhandled exception occurred at 0x0824DDAA : Invalid pointer operation 0x0824DDAA [TMainIDE.Destroy] A An unhandled exception occurred at 0x08185C0F : Access violation 0x08185C0F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of avl_tree.pas 0x4C373A3B main, line 302 of lcllinux.pp 0x0000D7B2 forms.pp - finalization section An unhandled exception occurred at 0x69447375 : Access violation 0x69447375 main, line 302 of lcllinux.pp 0x00293031 An unhandled exception occurred at 0x08246ECA : Access violation 0x08246ECA local]# ======================================================== But in last CVS lazarus caption for TListView columns saved. 8) And in next run time lazarus when load project or save project - this load CPU on 100% and not work. >That is what most of us are using. Linux is the main development >platform, so the developers(Mattias, Marc, etc) will all be using this. >When a bug is reported, unless OS (win32, *BSD) specific, it will first >be tested against current CVS ON Linux. Mattias needs details about the >steps you took to procure this bug, so that he can attempt to duplicate >it. Be as specific as possible, and possibly supply an example which >shows the bug. If possible try and duplicate the bug yourself on a new >project, and if you can send the sources and exactly what steps you took >to make it, it is far more likely that the bug can be found and fixed. > >Andrew > >On Sun, 2002-11-17 at 03:47, Andrew Velikoredchanin wrote: > > >>Mattias Gaertner wrote: >> >> >> >>>On Thu, 14 Nov 2002 18:08:27 +0300 >>>Andrew Velikoredchanin wrote: >>> >>> >>> >>> >>> >>>>For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. >>>>But this is only if TListView inserted in TPage (TNoteBook). >>>> >>>> >>>> >>>> >>>Hmm, seems to work. >>>Can you plz describe in more detail what you have done? >>> >>> >>> >>> >>This is for linux Lazarus in cvs. >> >> >> _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Andrew Velikoredchanin
to Andrew Velikoredchanin: For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. But this is only if…

andrew johnson wrote:

OK! More detail for bug with TListView and TNoteBook:
1. Start "lazarus";
2. Create new project - "Application";
3. Add on Form1 element "Additional"->"TNoteBook";
4. Add 2 pages in "Notebook1";
5. On secont TPage add "Common Controls" -> "TListView";
6. For "Listview1" press on "..." button for "COLUMNS" property in
object inspector;
7. Press "Add" for add 3 columns;
8. Change default caption "Caption" on "Caption1", "Caption2" and
"Caption3";
9. Press "OK" in Columns editor;
10. Press "Save All..." icon on main lazarus window (menu and tool panel
window);
11. After this I close lazarus.

After close I get errors in console:
======================================================== ...
TMainIDE.DoSaveProject End
TMainIDE.DoCloseEditorFile A PageIndex=0
An unhandled exception occurred at 0x0824DDAA :
Invalid pointer operation
0x0824DDAA

[TMainIDE.Destroy] A
An unhandled exception occurred at 0x08185C0F :
Access violation
0x08185C0F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of avl_tree.pas 0x4C373A3B main, line 302 of lcllinux.pp
0x0000D7B2

forms.pp - finalization section
An unhandled exception occurred at 0x69447375 :
Access violation
0x69447375 main, line 302 of lcllinux.pp
0x00293031
An unhandled exception occurred at 0x08246ECA :
Access violation
0x08246ECA

local]#
========================================================

But in last CVS lazarus caption for TListView columns saved. 8)

And in next run time lazarus when load project or save project - this load CPU on 100% and not work.

Show quoted text 42 lines
That is what most of us are using. Linux is the main development platform, so the developers(Mattias, Marc, etc) will all be using this. When a bug is reported, unless OS (win32, *BSD) specific, it will first be tested against current CVS ON Linux. Mattias needs details about the steps you took to procure this bug, so that he can attempt to duplicate it. Be as specific as possible, and possibly supply an example which shows the bug. If possible try and duplicate the bug yourself on a new project, and if you can send the sources and exactly what steps you took to make it, it is far more likely that the bug can be found and fixed. Andrew On Sun, 2002-11-17 at 03:47, Andrew Velikoredchanin wrote: >Mattias Gaertner wrote: > > > >>On Thu, 14 Nov 2002 18:08:27 +0300 >>Andrew Velikoredchanin wrote: >> >> >> >> >> >>>For TListView not saved in .lfm poperty "COLUMNS" after SaveAll. >>>But this is only if TListView inserted in TPage (TNoteBook). >>> >>> >>> >>> >>Hmm, seems to work. >>Can you plz describe in more detail what you have done? >> >> >> >> >This is for linux Lazarus in cvs. > > >

Reply by email