Actually i discovered the problem exists only when my main window has a QTextBrowser or one of the ItemWidgets' instance and that instance has focus.
when i tried with other widgets on the form it works.
you are very right at that eventFilter() routine is called multiple times.
But this happens only i placed those widgets ( QTextBrowser , QTreeWidet, QListWidget .. ). Without changing my code just removing these widgets problems disappears.
Can these widgets make QApplication catch key events multiple times.
thanks..
Bookmarks