[Lazarus] Ubuntu 12.04

zeljko zeljko at holobit.net
Fri Apr 20 10:08:41 CEST 2012


On Wednesday 18 of April 2012 21:54:05 Mattias Gaertner wrote:
> On Wed, 18 Apr 2012 20:21:30 +0200
> 
> zeljko <zeljko at holobit.net> wrote:
> > On Wednesday 18 of April 2012 19:48:12 Mattias Gaertner wrote:
> > > On Tue, 17 Apr 2012 11:40:00 +0200
> > > 
> > > zeljko <zeljko at holobit.net> wrote:
> > > >[...]
> > > >
> > > > > > > > There's no env variables which points to this, also there's
> > > > > > > > nothing in wm atoms what says that liboverlay is used.
> > > > > > > 
> > > > > > > What is the next step after finding out that liboverlay is
> > > > > > > active?
> > > > > >  
> > > > > >  ...at least show error dialog that liboverlay is active and
> > > > > >  inform user howto
> > > > > > 
> > > > > > switch it off, or call putenv('LIBOVERLAY_SCROLLBAR=0') (if it'll
> > > > > > work at all).
> > > > > 
> > > > > Do you know what the problem is with liboverlay? I remember vaguely
> > > > > something about synedit and mouse capturing.
> > > > 
> > > > Yes, 1st problem is mouse capturing (but seem that only synedit is
> > > > affected according to my tests), 2nd problem is that it does not send
> > > > position changes when moved by mouse , mouse wheel works ....
> > > 
> > > I implemented a test to find out if liboverlay is active for a
> > > scrolledwindow scrollbar and write a warning.
> > > And if it is active I used signal 'value-changed' instead of
> > > 'change-value'. Now scrolling in synedit seems to work.
> > 
> > What to say ? ;)
> > 1.When you scroll with mouse (not with wheel), but click faded in
> > liboverlay scrollbar it works ?
> 
> Yes.
> 
> > for other TCustomControls too ?
> 
> I have to test. I don't have a liboverlay here at the moment.
> 
> > for TScrollBars ?
> 
> I have not tested. But that used the "value-changed" signal already. In
> fact I copied the code mostly from there. Maybe both events can be
> combined.
> 
> > 2.Mouse grabbing works ok ?
> 
> It never hanged, but I didn't test much.

It hangs but seem that only with synedit have problem as I can see (synedit 
inside TPageControl) - just start IDE and click into SE source, now try to 
click another SE tab.Seem that something strange is happening when synedit is 
focused by mouse, since keyboard focusing (via tab) works ok.
eg .TTreeView works fine. 

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120420/876d2b96/attachment-0003.html>


More information about the Lazarus mailing list