Folder / File Locking Issue

Forum for the PDF-XChange Editor - Free and Licensed Versions

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

Post Reply
mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Tue Apr 10, 2018 3:13 pm

We have run into some new behavior with version 7 (7.0 Build 324.3) that wasn't exhibited in version 6 that we need to get figured out--whether a bug, or some option we aren't aware of. Basically the issue is that once we open a couple PDF files, then create a new PDF file by combining these opened PDF files, we are unable to move the folder that these files are in after closing out the individual files due to PDF-XChange Editor holding the files locked in spite of them being closed. We have to completely close out of PDF-XChange Editor for it to allow the folder which the previously opened files were in to be released for moving. Here are the steps we went through to create the issue:

* Open two PDF files from a folder on our network (both files are in the same folder)
* Go to File -> New Document -> Combine Files into a Single PDF
* Choose the drop-down next to Add Files... and select Add All Open Documents
* Click OK and a new tab opens with the combined files from the first step
* Save this new document in the same folder as the individual files which were opened from the firs step
* Close the tabs of the two individual files plus the third tab of the combined pdf so that none of the above mentioned files are open any longer (or any files from said folder, for that matter)
* Attempt in Windows Explorer to move the folder that these files were in is met by denial. This is while PDF-XChange Editor is open, but no files are open in it
* Once PDF-XChange Editor is fully closed, the folder can now be moved

This behavior did no exist in version 6. It was not necessary to completely close out of PDF-XChange editor to so something like move files in Windows Explorer after doing PDF manipulation and closing the files. Is there some way we can get this behavior back? It's impeding the work flow of one of our people to a fault. We are going to have to roll back to version 6 if we can't figure out how to stop PDF-XChanged Editor from keeping a file lock after files are closed out.

HaPe
User
Posts: 160
Joined: Wed Oct 29, 2014 9:34 pm

Re: Folder / File Locking Issue

Post by HaPe » Tue Apr 10, 2018 6:10 pm

mihlfeld & associates, inc. wrote:PDF-XChange Editor holding the files locked in spite of them being closed. We have to completely close out of PDF-XChange Editor for it to allow the folder which the previously opened files were in to be released for moving.
Similar problem here.It happened a couple of times that I wasn't able to delete pdf-files (right after closing them in Editor) on the desktop.I am not connected to any network and usually just combine files and/or insert pages.
The only solution is to restart Editor.

HaPe

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

Re: Folder / File Locking Issue

Post by TrackerSupp-Daniel » Tue Apr 10, 2018 6:18 pm

Hello Mihlfeld, HaPe,
I am sorry to say that this issue is still present in the testing build of the next release I am currently using, I've just reported it to the dev team, and they are looking in to it,
I cannot guarantee it will be fixed in the upcoming update, as it could only be a few hours away, but it should be resolved in the near future.
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

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

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

Re: Folder / File Locking Issue

Post by TrackerSupp-Daniel » Tue Apr 10, 2018 6:43 pm

On that note, I have been happily proven wrong, the Devs have just informed me this is now fixed :)It will be in the new release this week!
Enjoy!
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

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

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Tue Apr 10, 2018 8:35 pm

Glad to hear it. I'll be watching for the new build to drop and will see how things work out afterwards. I'll follow-up on the results once done installing and testing on release.

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

Re: Folder / File Locking Issue

Post by TrackerSupp-Daniel » Tue Apr 10, 2018 9:27 pm

:)
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

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

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Tue Apr 17, 2018 4:17 pm

The behavior is still present in version 7.0.325.0. We will go ahead and roll back to version 6 and keep an eye on future versions to see if the issue ever gets resolved.

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Tue Apr 17, 2018 5:23 pm

If it helps any, the files in question can be moved once they are closed from within PDF-XChange Editor, but the folder itself that they were in is locked up by PDF-XChanged Editor until it is completely closed down (in spite of no files inside said folder being open in PDF-XChanged Editor or anywhere else).

User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1668
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: Folder / File Locking Issue

Post by Patrick-Tracker Supp » Tue Apr 17, 2018 7:17 pm

Hello mihlfeld & associates, inc.

In so far as we can ascertain, this issue has been resolved on our end. In 7.325 we are not longer able to reproduce the behavior described above. Can you confirm that windows correctly reports build 325?

We need to know what may be different in your system or what could still be keeping the handle on the file. Please run sysinternals process explorer and send us a screenshot indicating the process keeping the handle on the folder/files in question. You will find details and instruction here: https://docs.microsoft.com/en-us/sysint ... s-explorer

Should we determine that it is indeed our software keeping a handle on the files/folders in build 325.0, we may need to arrange a remote session with our development team to run some debugging.

Thank you for your cooperation.
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Tue Apr 17, 2018 7:59 pm

I had a test machine that I did some testing on by getting into the registry and deleting the entire HKCU\Software\Tracker Software branch and after doing this, I was able to get things working. I'm going to test this out more extensively tonight after business hours, but it appears to me it's a combination of upgrading to the most recent version as well as wiping out the HKCU registry key for Tracker Software as something in there was still causing the issue (until it was wiped out).

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

Re: Folder / File Locking Issue

Post by TrackerSupp-Daniel » Tue Apr 17, 2018 8:03 pm

Hello mihlfeld & associates, inc.
Have you restarted the PC since the updates completed?
We do recommend a restart after updating to ensure no conflicts arise from the previous versions.
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

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

Timur Born
User
Posts: 572
Joined: Tue Jun 26, 2012 1:50 pm

Re: Folder / File Locking Issue

Post by Timur Born » Wed Apr 18, 2018 11:18 am

Could be an issue with the search/indexing provider. Try to exclude the folder from indexing and try again.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13296
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Folder / File Locking Issue

Post by Tracker Supp-Stefan » Wed Apr 18, 2018 11:55 am

Thanks for the suggestion Timur!

Please do let us know how it goes mihlfeld & associates!

Cheers,
Stefan

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Wed Apr 18, 2018 3:57 pm

We appear to be working properly now with one of our highest impacted users. It took a combination of upgrading to the most recent version as well as clearing out the registry key for Tracker Software under HKCU. It appears some leftover registry key is causing some grief that vanishes once we start again. I saw the same results with a couple users and a couple machines with the same fix being that the registry had to be addressed, too.

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

Re: Folder / File Locking Issue

Post by TrackerSupp-Daniel » Wed Apr 18, 2018 7:05 pm

Thank you for the update on that,
Will have to look into that on our end, I will let the Devs know.
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

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

Paul - Tracker Supp
Site Admin
Posts: 4865
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Folder / File Locking Issue

Post by Paul - Tracker Supp » Wed Apr 18, 2018 7:17 pm

Hello mihlfeld & associates, inc.

do you still have any instances where the registry is causing issue? I am keen to determine exactly which sub key is the cause of this because we do keep the registry settings between upgrades so users do not lose their settings and serial key.

If you can, please export the entire following two keys along with all their sub keys etc:

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software
HKEY_CURRENT_USER\Software\Tracker Software
If you can then do the same of a machine where the issue was resolved by removing those keys and reinstalling. Please send them to support@tracker-software.com or upload them to https://useruploads.tracker-software.support/ - details on it's usage can be found here: https://www.tracker-software.com/knowle ... ile-server

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Fri Apr 20, 2018 1:56 pm

Email sent with 4 files zipped up and attached.

Paul - Tracker Supp
Site Admin
Posts: 4865
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Folder / File Locking Issue

Post by Paul - Tracker Supp » Fri Apr 20, 2018 2:43 pm

Thanks for that.

I need to ask one of our developers, the registry files are identical, there are no differences in there to provide any clues. So I am barking up the wrong tree it would seem.

Do you have more cases or are they all currently working after your clean out and reinstalls?

sincerely
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Fri Apr 20, 2018 2:51 pm

They can't be entirely identical (unless you're just comparing relevant parts on some of the keys). They are nearly 7KB in size difference. Any which way, I have no other samples readily handy. The process that worked for me was upgrade to the new version, delete the entire [HKEY_CURRENT_USER\Software\Tracker Software] key (I left HKEY_LOCAL_MACHINE alone) and the next time they launch PDF-XChange Editor, the issue is gone (but not before wiping out the above registry key and everything under it).

Sorry I don't have anything more to work with.

Paul - Tracker Supp
Site Admin
Posts: 4865
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Folder / File Locking Issue

Post by Paul - Tracker Supp » Fri Apr 20, 2018 4:10 pm

Good catch!

I messed up when using my comparison tool. Sorry about that. There are differences and we I will have one of the engineers investigate.

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Paul - Tracker Supp
Site Admin
Posts: 4865
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Folder / File Locking Issue

Post by Paul - Tracker Supp » Fri Apr 20, 2018 4:39 pm

Hi again,

my team went over the reg keys and say there is nothing in there that explains this. The suggestion is that the cleaning of the registry is coincidental to the fix.

Where does that leave us? Are all your machines functional after cleaning and updating?

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

mihlfeld & associates, inc.
User
Posts: 35
Joined: Mon Jul 23, 2012 3:39 pm

Re: Folder / File Locking Issue

Post by mihlfeld & associates, inc. » Fri Apr 20, 2018 4:45 pm

Yes, those affected are functional after wiping the registry key and letting it get re-created from the new version on first start. We're working as we need to now.

Paul - Tracker Supp
Site Admin
Posts: 4865
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Folder / File Locking Issue

Post by Paul - Tracker Supp » Fri Apr 20, 2018 5:11 pm

Thanks for the feedback.

I am pleased to hear you are all working.

Do let us know if you have any other questions.

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Post Reply