LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 8.0 at Linux: panels open slowly, panel content is initially black

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?

0 Kudos
Message 1 of 5
(3,666 Views)

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.

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 5
(3,620 Views)

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.

0 Kudos
Message 3 of 5
(3,571 Views)

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!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 4 of 5
(3,532 Views)

Thank you, Al!

I am looking forward for this bug to be fixed.

0 Kudos
Message 5 of 5
(3,500 Views)