Sign in Join

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

Mailing lists / lazarus / 2003-03

Lazarus Bugs/Problems

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Tony Maro
to Unknown author: Problem #1 : Saving desktop settings to file causes Access violation How to replicate, at…

Problem 1:

Not that I have a clue what that feature is meant to do (I've never tried to use it) but I will confirm that it crashes mine as well. My stats are identical:

Mandrake 8.1
FPC 1.0.7
Laz CVS from the 17th.

Problem 2: No comment.

Problem 3: Yes this happens to me often as well. The find dialog loses focus.

Problem 4: I've never had the find dialog appear behind any other forms using the 17th (PM) CVS. Never. And I use it a LOT.

Problem 5: Huh?

Problem 6: I'll confirm this as well. This started with the new Always On Top modal form GTK code Mattias put in. I think he commented about the Zordering problem in a mail when he added that code though... Modal forms work fine when you only have 1 form open, but with multiples, GTK is randomly reorganizing them for you.

Problem 7: I think this was mentioned in a thread as something they're still trying to figure out a GTK fix for, but I may be wrong...

And if you think those bugs are bad you should have been here LAST year! LOL I worked for an entire month with it corrupting my form files every day... but I still got my app released! I learned how to edit the .lfm files by hand in gedit. ;-)

-Tony

Show quoted text 96 lines
Hi all, Problem #1 : Saving desktop settings to file causes Access violation How to replicate, at least in my case. 1. Create a new application via Project->New Project->Application. 2. Goto Environment->Environment Options->Desktop 3. Save the Desktop Settings to file. 4. Click Apply. 5. Click Ok .... bomb.... Access Violation Additional Information: Distribution : Mandrake 8.1 FPC version : 1.0.7 Last Lazarus CVS : March 17,2003 NOTE: miscellaneous options file not found - using defaults NOTE: codetools config file not found - using defaults TMainIDE.DoOpenEditorFile END "/home/yoyong_98/myPrograms/myPos/xpos.lpr" TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/yoyong_98/myPrograms/myPos/main.pas TMainIDE.DoOpenEditorFile END "/home/yoyong_98/myPrograms/myPos/main.pas" TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/yoyong_98/lazarus/lcl/stdctrls.pp TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/stdctrls.pp" TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/include/customedit.inc" TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/include/custommemo.inc" TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/yoyong_98/lazarus/lcl/controls.pp TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/controls.pp" TMainIDE.DoOpenEditorFile END "/usr/lib/fpc/1.0.7/src/fcl/inc/classesh.inc" TMainIDE.DoOpenEditorFile END "/usr/lib/fpc/1.0.7/src/rtl/inc/objpash.inc" ************************************************************ MouseDownOnControl frmMain:TfrmMain No Shift down, No CTRL down [TDesigner.MouseDownOnControl] END ************************************************************ MouseUpOnControl frmMain:TfrmMain [TDesigner.MouseLeftUpOnControl] END An unhandled exception occurred at 0x080FB9B6 : Access violation 0x080FB9B6 TIDEDIALOGLAYOUTLIST__COUNT, line 1002 of ideoptiondefs.pas 0x08491618 main, line 302 of lcllinux.pp An unhandled exception occurred at 0x08298D0A : Access violation 0x08298D0A [TMainIDE.Destroy] A An unhandled exception occurred at 0x081C9B1F : Access violation 0x081C9B1F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of avl_tree.pas 0x4C373A3B main, line 302 of lcllinux.pp 0x0000D7B2 An unhandled exception occurred at 0x00000000 : Access violation 0x00000000 Problem #2 : Looks like another IDE bug. Copying a component does not work, e.g., I have already a button named Button1, I wanted to copy that to make a new copy (of course of different name) but it does not work. Problem #3: Another bug..... 1. Press Ctr+F (Find) to show Find Dialog. 2. Change to another application so that the Find Dialog will lost the focus. 3. Go back to Lazarus.... Problem #4 : The Code Designer becomes the top of the Z order causing the Find Dialog to stay behind. Work Around Move the Code Designer show that Find Dialog can be viewed. Problem #5: Another bug.... Normally Lazarus application/IDE opens 4 windows and is displayed in the taskbar(MS term). But at random events, only one window is left normally the Lazarus Editor. Problem #6: Annoying bug: Pressing Ctrl-F brings the Find Dialog Window on top of the Z order but the Form Designer is also brougth next in order to the Dialog Window. Problem #7: Using TMemo, setting memo1.selStart := 1; memo1.SelLength := 20; Does nothing Looking at the code, it will only set/select a region if the control is of type csEdit but not csMemo Regards, Yoyong Hernan

Reply by email

Unknown author

Hi all,

Problem #1 : Saving desktop settings to file causes Access violation

How to replicate, at least in my case.
1. Create a new application via Project->New Project->Application.
2. Goto Environment->Environment Options->Desktop
3. Save the Desktop Settings to file.
4. Click Apply.
5. Click Ok .... bomb.... Access Violation

Additional Information:
Distribution : Mandrake 8.1
FPC version : 1.0.7
Last Lazarus CVS : March 17,2003

NOTE: miscellaneous options file not found - using defaults NOTE: codetools config file not found - using defaults TMainIDE.DoOpenEditorFile END "/home/yoyong_98/myPrograms/myPos/xpos.lpr" TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/yoyong_98/myPrograms/myPos/main.pas TMainIDE.DoOpenEditorFile END "/home/yoyong_98/myPrograms/myPos/main.pas" TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/yoyong_98/lazarus/lcl/stdctrls.pp TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/stdctrls.pp" TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/include/customedit.inc" TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/include/custommemo.inc" TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/yoyong_98/lazarus/lcl/controls.pp TMainIDE.DoOpenEditorFile END "/home/yoyong_98/lazarus/lcl/controls.pp" TMainIDE.DoOpenEditorFile END "/usr/lib/fpc/1.0.7/src/fcl/inc/classesh.inc" TMainIDE.DoOpenEditorFile END "/usr/lib/fpc/1.0.7/src/rtl/inc/objpash.inc" ************************************************************ MouseDownOnControl frmMain:TfrmMain No Shift down, No CTRL down [TDesigner.MouseDownOnControl] END
************************************************************ MouseUpOnControl frmMain:TfrmMain
[TDesigner.MouseLeftUpOnControl] END
An unhandled exception occurred at 0x080FB9B6 :
Access violation
0x080FB9B6 TIDEDIALOGLAYOUTLIST__COUNT, line 1002 of ideoptiondefs.pas 0x08491618 main, line 302 of lcllinux.pp
An unhandled exception occurred at 0x08298D0A :
Access violation
0x08298D0A

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

An unhandled exception occurred at 0x00000000 :
Access violation
0x00000000

Problem #2 : Looks like another IDE bug.

Copying a component does not work, e.g., I have already a button named Button1, I wanted to copy that to make a new copy (of course of different name) but it does not work.

Problem #3: Another bug.....

1. Press Ctr+F (Find) to show Find Dialog.
2. Change to another application so that the Find Dialog will lost the focus.
3. Go back to Lazarus....

Problem #4 :
The Code Designer becomes the top of the Z order causing the Find Dialog to stay behind.
Work Around
Move the Code Designer show that Find Dialog can be viewed.

Problem #5: Another bug....
Normally Lazarus application/IDE opens 4 windows and is displayed in the taskbar(MS term). But at random events, only one window is left normally the Lazarus Editor.

Problem #6: Annoying bug:
Pressing Ctrl-F brings the Find Dialog Window on top of the Z order but the Form Designer is also brougth next in order to the Dialog Window.

Problem #7: Using TMemo, setting
    memo1.selStart := 1;
    memo1.SelLength := 20;

Does nothing

Looking at the code, it will only set/select a region if the control is of type csEdit but not csMemo

Regards,

Yoyong Hernan

Reply by email

Mattias Gaertner
to Unknown author
Show quoted text 10 lines
Hi all, Problem #1 : Saving desktop settings to file causes Access violation How to replicate, at least in my case. 1. Create a new application via Project->New Project->Application. 2. Goto Environment->Environment Options->Desktop 3. Save the Desktop Settings to file. 4. Click Apply. 5. Click Ok .... bomb.... Access Violation

fixed.

Show quoted text 5 lines
Problem #2 : Looks like another IDE bug. Copying a component does not work, e.g., I have already a button named Button1, I wanted to copy that to make a new copy (of course of different name) but it does not work.

Sorry, not implemented yet.

Show quoted text 5 lines
Problem #3: Another bug..... 1. Press Ctr+F (Find) to show Find Dialog. 2. Change to another application so that the Find Dialog will lost the focus. 3. Go back to Lazarus....

focussing is a problem under gtk ...

Show quoted text 5 lines
Problem #4 : The Code Designer becomes the top of the Z order causing the Find Dialog to stay behind. Work Around Move the Code Designer show that Find Dialog can be viewed.

This is the bug from saturday. It should be fixed now.

Problem #5: Another bug.... Normally Lazarus application/IDE opens 4 windows and is displayed in the taskbar(MS term). But at random events, only one window is left normally the Lazarus Editor.

?

Problem #6: Annoying bug: Pressing Ctrl-F brings the Find Dialog Window on top of the Z order but the Form Designer is also brougth next in order to the Dialog Window.

This is the form z order bug. I'm still searching for a solution ...

Show quoted text 8 lines
Problem #7: Using TMemo, setting memo1.selStart := 1; memo1.SelLength := 20; Does nothing Looking at the code, it will only set/select a region if the control is of type csEdit but not csMemo

Fixed.

Mattias

Reply by email