U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TopWindow&PopUp, TrayIcon » [SOLVED] topmost menu popup crashes
Re: topmost menu popup crashes [message #26239 is a reply to message #26215] Fri, 16 April 2010 13:34 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
chickenk wrote on Wed, 14 April 2010 08:31

Hi Mirek and others,

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.

Now fixed. Thanks.
 
Read Message
Read Message
Read Message
Previous Topic: Adding transparent Ctrls to main window
Next Topic: Howto set the icon for the application/and or topwindow in the code?
Goto Forum:
  


Current Time: Fri Jun 19 12:33:55 GMT+2 2026

Total time taken to generate the page: 0.00626 seconds