Jens: The patch (version 1, never tried v2, because I'm too lazy
) works very well, probably you could commit it?
Also, there is another problem, here are the steps to reproduce it:
1. Switch to "Build messages"
2. Right click and open the context menu
3. Left click and the context menu is opened at the position of the click
or
1. Switch to the "Thread search" tab, Thread search should be in list ctrl mode, have not tested the tree mode
2. Perform a search which should have some results
3. Right click on a result string to open the context menu
4. Click "Delete all items", the general context menu shows up
Tested on gentoo linux 64bit debuggers branch (but it is not related to the changes in it, I think)