Version: (using KDE 4.4.0) Compiler: gcc 4.4.3 OS: Linux Installed from: Archlinux Packages The kimpanel's input window reach the edge of the window, it will cause some blinking around the panel. Here is a patch for fix this problem, the problem seems cause by using different api while get the bound of the screen. In KIMLookupTable::updateSpotLocation, it uses screenGeometry() and in KIMLookupTable::resizeEvent, it uses availableGeometry(), which seems to contain the size of the panel. Index: src/kimlookuptable.cpp =================================================================== --- src/kimlookuptable.cpp (版本 1095591) +++ src/kimlookuptable.cpp (工作副本) @@ -172,11 +172,11 @@ m_view->setSceneRect(m_widget->mapToScene(m_widget->boundingRect()).boundingRect()); m_view->centerOn(m_widget); } - if ((width() + x() > m_desktop.availableGeometry().width()) || - (height() + y() > m_desktop.availableGeometry().height())) { + if ((width() + x() > m_desktop.screenGeometry().width()) || + (height() + y() > m_desktop.screenGeometry().height())) { - move(qMin(m_desktop.availableGeometry().width()-width(),x()), - qMin(m_desktop.availableGeometry().height()-height(),y())); + move(qMin(m_desktop.screenGeometry().width()-width(),x()), + qMin(m_desktop.screenGeometry().height()-height(),y())); } }
i have the same problem
> The kimpanel's input window reach the edge of the window, it will cause some > blinking around the panel. Weng, Would it be possible for you to add a link to a screen shot of what such kimpanel input window is or attach a screen shot to this bug report showing what is such kimpanel input window. I ask this because I believe - I am not sure - this may be the same issue that I reported in bug 279935 Also, if you have a patch ready for this bug, then I believe there is something you can do or add into this bug report. Not sure what... Maybe just re-edit this bug summary and add/prefix it with [proposed patch] . So that it would read: Bug 229105 - [proposed patch] kimpanel input window blinks while reach the edge of the window regards, Gérard
.. anyway, I have already rewrite this plasmoid myself after a long time and merged, and this is fixed.