Viewer opening behind embedding application

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

martin2
User
Posts: 29
Joined: Thu May 29, 2008 9:06 am

Viewer opening behind embedding application

Post by martin2 »

Hello,

we have a strange problem view the viewer (Release 41.3). The viewer is embedded into an eclipse application and works perfect until our customers starts "HP Mercury Quality Center 9.2" to manage their test cases. This tool runs on Microsoft Internet Explorer and itself uses own ActiveX controls. Whenever this tool is running and displays test plans in a table, opening the PDF-XChange ActiveX control in our eclipse application is broken. The viewer opens but is no longer embedded in the application. Instead the application has a "hole" showing a snapshot of the viewer that is running behind the application in the full size of the display.

As far as we could analyse the problem, there are no differences in the values with which the ActiveX control is started. With other controls (e.g. Microsoft word, etc.) we do not have this effect. It is only visible the PDF XChange control, the open view in HP Mercury Quality Center and the embedding into Eclipse (3.2 as well as 3.4).

Do you have any idea what could trigger this effect. It seems that the control looses the connection to the eclipse application that embeds the control - in size as well as regarding repaint events (as mentioned above, the application "hole" just shows a snapshot of the viewer).

Thanks
Martin
You do not have the required permissions to view the files attached to this post.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Viewer opening behind embedding application

Post by Vasyl-Tracker Dev Team »

Please could you give me detailed instructions on how to build of your project, and we will try to fix this trouble.

Thanks.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
martin2
User
Posts: 29
Joined: Thu May 29, 2008 9:06 am

Re: Viewer opening behind embedding application

Post by martin2 »

The given project is an Eclipse 3.4 project. Just install Eclipse, import the project ("Import existing project into workspace") and build (Project -> Build). Then you should be able to run the test ("Run -> Run History -> PdfXChangeTest"). The test starts the default Eclipse resource perspective. In the lower right corner there is a view that embeds the PDF-XChange viewer.

Unfortunately - to really reproduce the problem you would also need HP Mercury Quality center. Maybe there is the possibility to get a demo version from HP. Without this software - opened parallely in Internet Explorer - the problem does not exist.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Viewer opening behind embedding application

Post by Corwin - Tracker Sup »

build (Project -> Build)
Still no luck with that. Eclipse says that there are 45 errors (Something like "The import org.eclipse cannot be resolved Activator.java PdfXChangeViewer/src/pdfxchangeviewer" and others)
to really reproduce the problem you would also need HP Mercury Quality center
Well, we don’t have this software. Maybe you have experience such problem under other circumstances?
martin2
User
Posts: 29
Joined: Thu May 29, 2008 9:06 am

Re: Viewer opening behind embedding application

Post by martin2 »

Hello Corwin,

sorry the could should compile. See the attached howto. I imported it into a completely empty workspace (I used Eclipse 3.4 "Ganymede"). Maybe you could try again.

And we have never seen the effect with any other software then the HP Mercury Quality Center. We will also open a support request there, hoping they could give us information what might happen. Maybe we are able to arrange that you can get access to a test installation to reproduce the effect.

This effect is only visible for the triple of software (Eclipse, PDF XChange Viewer and HP Mercury Quality Center):
- Without Eclipse: Your test programs (C, C++, C# etc.) work perfectly, despite open Quality Center
- Without Viewer: Integration other ActiveX controls (like MS Word) into eclipse and open HP Mercury Quality Center work perfectly
- Without Mercury: Integration of PDF XChange Viewer into Eclipse works perfectly

Martin
You do not have the required permissions to view the files attached to this post.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Viewer opening behind embedding application

Post by Corwin - Tracker Sup »

We have solved our problem with Eclipse by installing 3.4 version (earlier we have been using 3.4.2), so now your project builds fine.
Also we have downloaded "HP Mercury Quality Center 10" but cannot find problem with that application. Can you specify what version of QC you are using (Enterprise Edition or Starter Edition), and do you have such problems with QC version 10 ?
martin2
User
Posts: 29
Joined: Thu May 29, 2008 9:06 am

Re: Viewer opening behind embedding application

Post by martin2 »

We have HP Mercury QC enterprise edition 9.2. The effect I described happens if we change to a page in QC that shows a table, e.g. in the Test-Lab. Whenever one of those pages is shown, embedding fails. If I close the browser, the effect disappears. The next viewer is then embedded correctly. Other pages do not cause this effect.

Martin