http://bugs.winehq.org/show_bug.cgi?id=31280
--- Comment #6 from Simon Haynes spacejock@gmail.com 2012-07-22 10:57:55 CDT --- (In reply to comment #5)
Sounds like divide-and-conquor is in order. Iterate like this: while (can stand it) { verify app still has problem. If not, revert previous change. remove half of app rebuild } and then once you have a small app that still exhibits the problem, either the bug or the fix or both will become clear.
The app is huge, with many forms and tens (hundreds?) of thousands of lines of code. Fortunately the error shows up on the main form.
My plan is to copy the main form only into another (empty) project, and comment out everything. Then I'll bring back bits and pieces until the right-click no longer works.
Once I find out what it is I'll make up a project which reliably shows the error, and I'll submit it here.