[QScintilla] Hack for metacity / autocomplete focus bug

cadevel cadevel at free.fr
Tue May 5 10:14:07 BST 2009


Hello,

I've made a small hack to remove the metacity/ autocomplete bug

in Qt4/SciClasses.cpp (ligne ~130)

SciListBox::SciListBox(QWidget *parent, ListBoxQt *lbx_)
    : QListWidget(parent), lbx(lbx_)
{
    setWindowFlags(Qt::ToolTip 
|Qt::WindowStaysOnTopHint);//Qt::Tool|Qt::FramelessWindowHint);
    setAttribute(Qt::WA_StaticContents);

    setFocusProxy(parent);



Warning: this works for me but i only tried it with metacity.




Christophe Antoine


More information about the QScintilla mailing list