[lazarus] Bugs in Editor and with scrollbars
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Feb 15 04:31:56 EST 2001
On 2001.02.15 08:58:54 +0100 Jens Arm wrote:
> 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
More information about the Lazarus
mailing list