08-20-2010 08:17 AM
Hello,
I am experiencing problems since I began to port my application from Windows to Linux.
The major issue is that when I try to display panel using DisplayPanel() the panel is initially black and it took several seconds for it to display the contents properly.
I've captured my screen so one can see what exactly happens: http://www.youtube.com/watch?v=U3medmWvAz8
The same behavior is observed when I use POPUP_MENU_RING or RECESSED_MENU_RING_LS.
Furthermore, when I invoke DisplayPanel() at first time, the panel appears atop the other windows. However if after some time when other windows hide my panel I try to invoke DisplayPanel() once more to bring my panel on the top again, nothing happens. So did the XmapRaised() invokation. I have to use HidePanel() before DisplayPanel(), but that again leads to black window issue mentioned above.
Can anyone tell me how can I get rid of this annoying issue?
08-25-2010 10:33 AM
Hi ConstC,
I have been unable to replicate what you are seeing, but CVI R&D is interested in seeing this behavior. Is there any way you could upload a sample of code that demonstrates this issue? I look forward to your reply.
08-31-2010 09:59 AM
Hello,
Glad to hear you're interested in my issue.
I've attached source code to my message. Just unpack somewhere and execute compile.sh to get executable binary named Example.
Once you execute it you can see a simple window with two dropdown boxes in the middle and a menu at the top. Click any dropdown box and you can see the "black" window described above. It takes several seconds for it to draw its content correctly.
Same behavior can be seen once you select one of upper menu items. A new window apperars, but it is initially black too.
09-03-2010 10:05 AM
Hi ConstC,
Thanks for the code. We were able to reproduce this issue, and a bug report has been created (CAR ID 247483). I will let you know if I am updated on this bug!
09-07-2010 06:08 AM
Thank you, Al!
I am looking forward for this bug to be fixed.