<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head><body>
 
 
  <p style="margin: 0px; "> </p> 
  <p style="margin: 0px; "><span><span></span></span>Hi all,</p> 
  <p style="margin: 0px; "> </p> 
  <p style="margin: 0px; ">The Ubuntu's Unity LIBOVERLAY override breaks the gtk_grab_add function, so mouse capturing does not work in synedit, treeview and many more LCL controls that descend from TCustomControl. That means dragging or selecting text with the mouse does not work. </p> 
  <p style="margin: 0px; ">This is true for many applications, which is why liboverlay has an internal list to disable itself for many famous applications (e.g. gimp).</p> 
  <p style="margin: 0px; ">Maybe with some more time someone can find a remedy for the LCL.</p> 
  <p style="margin: 0px; "> </p> 
  <p>The LCL will write a warning with 'debugln' if it spots liboverlay.</p> 
  <p style="margin: 0px; "> </p> 
  <p>To disable liboverlay for a single application set the environment variable LIBOVERLAY_SCROLLBAR to '0' *before* starting the application. There is no way to disable liboverlay when the application is already running. For example:</p> 
  <p>LIBOVERLAY_SCROLLBAR=0 ./lazarus</p> 
  <p style="margin: 0px; "> </p> 
  <p style="margin: 0px; ">You can disable it on a whole machine by uninstalling the package "liboverlay-scrollbar-0.2-0".</p> 
  <p style="margin: 0px; "> </p> 
  <p style="margin: 0px; ">The IDE starter "startlazarus" now sets this variable before starting the IDE. startlazarus is called for example when you use the desktop menu item. </p> 
  <p style="margin: 0px; "> </p> 
  <p style="margin: 0px; "> </p> 
  <p style="margin: 0px; ">Mattias</p> 
  <p style="margin: 0px; "> </p>
 
</body></html>