You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 24th 2004, 5:30pm

KPopupMenu : disappear one time by two

Hello,

When right clicking my widget, popup menu appears.
When right clicking another time, it appears but is hidden as soon as we release mouse button.
The 3rd time, it's well, the 4th it's bad (hidden), etc...
To be noticed : the menu is hidden only when the menu appears on bottom-right of the mouse position.
(if I right click on the bottom-right of the screen/widget, the menu is forced to appears on top-left of the cursor end it's fine (never disappear).

I remember Konqueror was having the same problem.

But how to solve it ?

I use QWidget::contextMenuEvent(...) to trigger the menu.

Thank you.
BasKet's (take notes and keep a full range of data on hand) author:
http://basket.kde.org/
http://kde-apps.org/content/show.php?content=10020