[Lazarus] trunk OSX Lion 10.7.2 Scrolling Problem

zeljko zeljko at holobit.net
Fri Dec 30 19:15:12 CET 2011


On Friday 30 of December 2011 18:22:11 Martin wrote:
> Seems that Mac sends a delta of 40 per click,  win and linux do 120

Not only Mac (carbon & cocoa) ,but qt under mac too.

zeljko

> 
> 
> you can change this in synedit until fixed
> 
> 
> procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent);
> var
>    lState: TShiftState;
> const
>    WHEEL_DELTA = 120;
> begin
> 
> 
> 
> Note you may have similar issues in other windows (e.g. disassembler)
> 
> On 30/12/2011 16:51, Helmut Hartl wrote:
> > On OSX lion 10.7.2 in lazarus trunk, the svn revision 33972 breaks the
> > mouse wheel scrolling in the ide editor
> > (at least for a magic mouse) -> The view stutters, does not scroll, or
> > scrolls only some lines and stops.
> > The version before worked fine.
> > 
> > In synedit.pp the following hack brings back normal scrolling behaviour:
> > Tested on svn 34518.
> > 
> > Helmut
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111230/fe7452cb/attachment-0003.html>


More information about the Lazarus mailing list