Sign in Join

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

Mailing lists / lazarus / 2001-02

Bugs in Editor and with scrollbars

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Jens Arm

Hi

The new editor is much better and quicker than the old editor, but the cursor is sometimes shown and sometimes not. After the start of Lazarus it is shown in the editor, but if I open a second editor the cursor is hidden, but the writing is working (however you don't know where you are writing). It is also hidden when you change the console.
If I try to scroll down or up in the editor with the scrollbars the source will be marked. The scrollbars is the property editor are also not working correctly.
The moving of controls in the form editor is not working correctly. If you move a component it jumps to the left top corner and then again where the mouse pointer is and so on.
If you change the size of the editor with the left and right border, so that the editor is so small as it can be, you get a SegFault:

An unhandled exception occurred at 0x08071AAB :Range check error0x08071AAB TCUSTOMSYNEDIT__UPDATESCROLLBARS, line 3215 of synedit.pp0x08078271 TCUSTOMSYNEDIT__SIZEORFONTCHANGED, line 5798 of synedit.pp0x08071E25 TCUSTOMSYNEDIT__WMSIZE, line 3340 of synedit.pp0x08105A450x080DA804 TCONTROL__WNDPROC, line 477 of ./include/control.inc0x080D86B7 TWINCONTROL__WNDPROC, line 707 of ./include/wincontrol.inc0x08073DE4 TCUSTOMSYNEDIT__WNDPROC, line 4194 of synedit.pp0x080C3B1E DELIVERMESSAGE, line 474 of ./interfaces/gtk/gtkproc.inc0x080CF884 TGTKOBJECT__SENDMESSAGE, line 2604 of ./interfaces/gtk/gtkwinapi.inc0x080C64BA TGTKOBJECT__HANDLEEVENTS, line 87 of ./interfaces/gtk/gtkobject.incAn unhandled exception occurred at 0x081054EC :Access violation0x081054EC0x2C35313A main, line 42 of
lcllinux.pp0x165C2605 main, line 42 of lcllinux.pp cu Jens

Reply by email

Shane Miller

It's available.

Shane

>> 02/16/01 03:10AM >>>

Bug fixed. Will soon be available.

Show quoted text 77 lines
Hi There is another bug in the editor. I start Lazarus and then open a new editor with the menu (File - new Unit). If I make now a double click to select the whole word for example *interface" I get this error: UPDATECARET--------------------------- KIlling Focus... SetMOuseCapture TSYNEDIT An unhandled exception occurred at 0x080729DD : Range check error 0x080729DD TCUSTOMSYNEDIT__SETWORDBLOCK, line 3769 of synedit.pp 0x08072ADE TCUSTOMSYNEDIT__DBLCLICK, line 3789 of synedit.pp 0x080DA9A0 TCONTROL__WMLBUTTONDBLCLK, line 564 of ./include/control.inc 0x08105A45 0x080DA804 TCONTROL__WNDPROC, line 477 of ./include/control.inc 0x080D86B7 TWINCONTROL__WNDPROC, line 707 of ./include/wincontrol.inc 0x08073DE4 TCUSTOMSYNEDIT__WNDPROC, line 4194 of synedit.pp 0x080C3B1E DELIVERMESSAGE, line 474 of ./interfaces/gtk/gtkproc.inc 0x080CF884 TGTKOBJECT__SENDMESSAGE, line 2604 of ./interfaces/gtk/gtkwinapi.inc 0x080C64BA TGTKOBJECT__HANDLEEVENTS, line 87 of ./interfaces/gtk/gtkobject.inc An unhandled exception occurred at 0x081054EC : Access violation 0x081054EC 0x2C35313A main, line 42 of lcllinux.pp 0x165C2605 main, line 42 of lcllinux.pp [TgtkObject.Destroy] WARNING: There are 123 unreleased DCs and 502 unreleased GDIObjects [TgtkObject.Destroy] WARNING: There are 1 messages left in the queue! I'll free them cu Jens <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Another Bug in Editor</TITLE> <META NAME="GENERATOR" CONTENT="StarOffice/5.2 (Linux)"> <META NAME="CREATED" CONTENT="20010214;16573100"> <META NAME="CHANGEDBY" CONTENT="Jens Arm"> <META NAME="CHANGED" CONTENT="20010216;9150300"> </HEAD> <BODY> <P>Hi</P> <P>There is another bug in the editor.<BR>I start Lazarus and then open a new editor with the menu (File - new Unit). If I make now a double click to select the whole word for example &#132;interface&#147; I get this error:</P> <P>UPDATECARET---------------------------<BR>KIlling Focus...<BR>SetMOuseCapture TSYNEDIT<BR>An unhandled exception occurred at 0x080729DD :<BR>Range check error<BR> 0x080729DD TCUSTOMSYNEDIT__SETWORDBLOCK, line 3769 of synedit.pp<BR> 0x08072ADE TCUSTOMSYNEDIT__DBLCLICK, line 3789 of synedit.pp<BR> 0x080DA9A0 TCONTROL__WMLBUTTONDBLCLK, line 564 of ./include/control.inc<BR> 0x08105A45<BR> 0x080DA804 TCONTROL__WNDPROC, line 477 of ./include/control.inc<BR> 0x080D86B7 TWINCONTROL__WNDPROC, line 707 of ./include/wincontrol.inc<BR> 0x08073DE4 TCUSTOMSYNEDIT__WNDPROC, line 4194 of synedit.pp<BR> 0x080C3B1E DELIVERMESSAGE, line 474 of ./interfaces/gtk/gtkproc.inc<BR> 0x080CF884 TGTKOBJECT__SENDMESSAGE, line 2604 of ./interfaces/gtk/gtkwinapi.inc<BR> 0x080C64BA TGTKOBJECT__HANDLEEVENTS, line 87 of ./interfaces/gtk/gtkobject.inc<BR> <BR>An unhandled exception occurred at 0x081054EC :<BR>Access violation<BR> 0x081054EC<BR> 0x2C35313A main, line 42 of lcllinux.pp<BR> 0x165C2605 main, line 42 of lcllinux.pp<BR> <BR>[TgtkObject.Destroy] WARNING: There are 123 unreleased DCs and 502 unreleased GDIObjects<BR>[TgtkObject.Destroy] WARNING: There are 1 messages left in the queue! I'll free them</P> <P>cu Jens</P> <P><BR><BR> </P> </BODY> </HTML>

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Mattias Gaertner
to Jens Arm: Hi The new editor is much better and quicker than the old editor, but the cursor is…

Bug fixed. Will soon be available.

Show quoted text 77 lines
Hi There is another bug in the editor. I start Lazarus and then open a new editor with the menu (File - new Unit). If I make now a double click to select the whole word for example �interface� I get this error: UPDATECARET--------------------------- KIlling Focus... SetMOuseCapture TSYNEDIT An unhandled exception occurred at 0x080729DD : Range check error 0x080729DD TCUSTOMSYNEDIT__SETWORDBLOCK, line 3769 of synedit.pp 0x08072ADE TCUSTOMSYNEDIT__DBLCLICK, line 3789 of synedit.pp 0x080DA9A0 TCONTROL__WMLBUTTONDBLCLK, line 564 of ./include/control.inc 0x08105A45 0x080DA804 TCONTROL__WNDPROC, line 477 of ./include/control.inc 0x080D86B7 TWINCONTROL__WNDPROC, line 707 of ./include/wincontrol.inc 0x08073DE4 TCUSTOMSYNEDIT__WNDPROC, line 4194 of synedit.pp 0x080C3B1E DELIVERMESSAGE, line 474 of ./interfaces/gtk/gtkproc.inc 0x080CF884 TGTKOBJECT__SENDMESSAGE, line 2604 of ./interfaces/gtk/gtkwinapi.inc 0x080C64BA TGTKOBJECT__HANDLEEVENTS, line 87 of ./interfaces/gtk/gtkobject.inc An unhandled exception occurred at 0x081054EC : Access violation 0x081054EC 0x2C35313A main, line 42 of lcllinux.pp 0x165C2605 main, line 42 of lcllinux.pp [TgtkObject.Destroy] WARNING: There are 123 unreleased DCs and 502 unreleased GDIObjects [TgtkObject.Destroy] WARNING: There are 1 messages left in the queue! I'll free them cu Jens <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Another Bug in Editor</TITLE> <META NAME="GENERATOR" CONTENT="StarOffice/5.2 (Linux)"> <META NAME="CREATED" CONTENT="20010214;16573100"> <META NAME="CHANGEDBY" CONTENT="Jens Arm"> <META NAME="CHANGED" CONTENT="20010216;9150300"> </HEAD> <BODY> <P>Hi</P> <P>There is another bug in the editor.<BR>I start Lazarus and then open a new editor with the menu (File - new Unit). If I make now a double click to select the whole word for example &#132;interface&#147; I get this error:</P> <P>UPDATECARET---------------------------<BR>KIlling Focus...<BR>SetMOuseCapture TSYNEDIT<BR>An unhandled exception occurred at 0x080729DD :<BR>Range check error<BR> 0x080729DD TCUSTOMSYNEDIT__SETWORDBLOCK, line 3769 of synedit.pp<BR> 0x08072ADE TCUSTOMSYNEDIT__DBLCLICK, line 3789 of synedit.pp<BR> 0x080DA9A0 TCONTROL__WMLBUTTONDBLCLK, line 564 of ./include/control.inc<BR> 0x08105A45<BR> 0x080DA804 TCONTROL__WNDPROC, line 477 of ./include/control.inc<BR> 0x080D86B7 TWINCONTROL__WNDPROC, line 707 of ./include/wincontrol.inc<BR> 0x08073DE4 TCUSTOMSYNEDIT__WNDPROC, line 4194 of synedit.pp<BR> 0x080C3B1E DELIVERMESSAGE, line 474 of ./interfaces/gtk/gtkproc.inc<BR> 0x080CF884 TGTKOBJECT__SENDMESSAGE, line 2604 of ./interfaces/gtk/gtkwinapi.inc<BR> 0x080C64BA TGTKOBJECT__HANDLEEVENTS, line 87 of ./interfaces/gtk/gtkobject.inc<BR> <BR>An unhandled exception occurred at 0x081054EC :<BR>Access violation<BR> 0x081054EC<BR> 0x2C35313A main, line 42 of lcllinux.pp<BR> 0x165C2605 main, line 42 of lcllinux.pp<BR> <BR>[TgtkObject.Destroy] WARNING: There are 123 unreleased DCs and 502 unreleased GDIObjects<BR>[TgtkObject.Destroy] WARNING: There are 1 messages left in the queue! I'll free them</P> <P>cu Jens</P> <P><BR><BR> </P> </BODY> </HTML>

Reply by email

Mattias Gaertner
to Jens Arm: Hi The new editor is much better and quicker than the old editor, but the cursor is…
Show quoted text 5 lines
1.The new editor is much better and quicker than the old editor, but the cursor is sometimes shown and sometimes not. After the start of Lazarus it is shown in the editor, but if I open a second editor the cursor is hidden, but the writing is working (however you don't know where you are writing). It is also hidden when you change the console.

This bug was fixed yesterday and will be soon comitted.

2.If I try to scroll down or up in the editor with the scrollbars the source will be marked. The scrollbars is the property editor are also not working correctly.

ALL scrollbars are not working correctly with mouse dragging. Only mouse wheel will work. This is because the implementation of the scrollbars in the lcl is not completed. Scrollbars are not automatically affecting the client rectangle and send mouse events with their own coordinates. That's the reason why no component can decide if the mouse event is from scrollbar or not.

3.The moving of controls in the form editor is not working correctly. If you move a component it jumps to the left top corner and then again where the mouse pointer is and so on.

This is because of some inconsistency in the lcl gtk interfaces. Some components produce mouse coordinates with different origins. This was not critical before. But the designer depends on complete consistency. Therefore this is not one bug but many little ones. Hopefully they will be fixed in the next few weeks.

4.If you change the size of the editor with the left and right border, so that the editor is so small as it can be, you get a SegFault:

Witty test. :)
I have found the bug. (There were two.)

Mattias

Reply by email

Jens Arm
to Jens Arm: Hi The new editor is much better and quicker than the old editor, but the cursor is…

Hi
There is another bug in the editor.I start Lazarus and then open a new editor with the menu (File - new Unit). If I make now a double click to select the whole word for example �interface� I get this error:
UPDATECARET---------------------------KIlling
Focus...SetMOuseCapture TSYNEDITAn unhandled exception occurred at 0x080729DD :Range check error 0x080729DD
TCUSTOMSYNEDIT__SETWORDBLOCK, line 3769 of synedit.pp 0x08072ADE TCUSTOMSYNEDIT__DBLCLICK, line 3789 of synedit.pp 0x080DA9A0 TCONTROL__WMLBUTTONDBLCLK, line 564 of ./include/control.inc 0x08105A45 0x080DA804 TCONTROL__WNDPROC, line 477 of ./include/control.inc 0x080D86B7 TWINCONTROL__WNDPROC, line 707 of ./include/wincontrol.inc 0x08073DE4 TCUSTOMSYNEDIT__WNDPROC, line 4194 of synedit.pp 0x080C3B1E DELIVERMESSAGE, line 474 of ./interfaces/gtk/gtkproc.inc 0x080CF884 TGTKOBJECT__SENDMESSAGE, line 2604 of ./interfaces/gtk/gtkwinapi.inc 0x080C64BA TGTKOBJECT__HANDLEEVENTS, line 87 of ./interfaces/gtk/gtkobject.inc An unhandled exception occurred at 0x081054EC :Access violation 0x081054EC 0x2C35313A main, line 42 of lcllinux.pp 0x165C2605 main, line 42 of lcllinux.pp [TgtkObject.Destroy] WARNING: There are 123 unreleased DCs and 502 unreleased GDIObjects[TgtkObject.Destroy] WARNING: There are 1 messages left in the queue! I'll free them
cu Jens

Reply by email