[Lazarus] Ubuntu 12.04
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Apr 18 21:54:05 CEST 2012
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.
Mattias
More information about the Lazarus
mailing list