Start not in focus when given a pdf file argument, and doesn't recognize the absolute path to a pdf file

The PDF-XChange Viewer for End Users
+++ FREE +++

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

Post Reply
tim126
User
Posts: 81
Joined: Thu Oct 02, 2014 1:48 am

Start not in focus when given a pdf file argument, and doesn't recognize the absolute path to a pdf file

Post by tim126 » Wed Mar 21, 2018 10:42 pm

I am using PDFXCView version 2.5 Build 312.1 under Ubuntu 16.04 and wine 3.1, and the following two problems probably also exist with the latest version of Viewer

- When start the Viewer from a shell terminal, its window doesn't take the focus when specify a pdf file as an argument to it, but its window does when not specify any pdf file as argument to it.
For details, see https://askubuntu.com/questions/1018080 ... iven-an-ar

- When specify a pdf file as an argument to the Viewer, the Viewer doesn't find and open the pdf file specified as an absolute pathname, but does if specified as a relative pathname.
For details, see https://askubuntu.com/questions/1018078 ... 76_1018078

I was wondering if the same problems also happen to other people when running the viewer in Windows?

Could anyone explain roughly the reasons of the problems in terms of the source code implementation of the Viewer?

Thanks.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2625
Joined: Wed Jan 03, 2018 6:52 pm

Re: Start not in focus when given a pdf file argument, and doesn't recognize the absolute path to a pdf file

Post by TrackerSupp-Daniel » Thu Mar 22, 2018 8:35 pm

Hello Tim126,the viewer has been discontinued, but i can inform you that you are using a much older build of the viewer than the latest.
I believe the issues you are experienceing are cause by WINE, not the viewer itself, but updating will verify that.
As for the source code portion, that is more a question for the SDK forums, and if you are interested in that, the viewer sdk product page is here: https://www.tracker-software.com/produc ... ctivex-sdk
and its support articles are available here: http://help.tracker-software.com/DEV/de ... n=vwraxsdk
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply