this may be related to other TopMost topics in this forum category.
I tried to execute the CallbackArgTarget example from the reference assembly on Ubuntu 9.10, and it gave me back an 'invalid memory access'.
I entered the debugger to dive deeper, and you can see the call stack and problem in the attached screenshot.
The variable q is NULL when executing q->StartPopupGrab(), thus the error. It seems having the menu widget as the topmost item is not currently working.
Can you have a look a this?
Thanks,
Lionel
The reference example was wrong -> oversimplified. In U++/X11, it is not possible to have a menu without owner window.