IsolatedMainFrames vs Search In Folder and opening search result documents  SOLVED

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

IsolatedMainFrames vs Search In Folder and opening search result documents

Post by zarkogajic »

Hi Support,

I'm having 2 main frames and using the "Search in folder" feature...

In both Frames I'm searching for the same word in the same folder.

Both main frames would return the same results (as expected).

Having IsolatedMainFrames == FALSE (the default) and the following steps:

0. Both frames have no documents open
1. Run the search in folder F1 in Frame_1
2. Run the search in folder F1 in Frame_2

-> results are the same in both frames

3. Click on a found document DocA in Frame_1 -> document DocA gets open in Frame_1 (as expected)

4. Click on DocA (so same document) in Frame_2 -> document does not get re-open in Frame_2 as it is already open in Frame_1.
As expected.

Now, do the same with IsolatedMainFrames == TRUE, steps:

0. Both frames have no documents open
1. Run the search in folder F1 in Frame_1
2. Run the search in folder F1 in Frame_2

-> results are the same in both frames

3. Click on a found document DocA in Frame_1 -> document DocA gets open in Frame_1 (as expected)

4. Click on DocA (so same document) in Frame_2 -> document does not get re-open in Frame_2 as it is already open in Frame_1.
NOT as expected. Expected: DocA is reopen also in Frame_2.

Now:

5. Click "Search..." to repeat the same search in Frame_2 -> same results as expected.
Note: DocA is still open in Frame_1

6. Click on DocA in search results -> it does now open in Frame_2 - even though it is still open in Frame_1.




-žarko
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: IsolatedMainFrames vs Search In Folder and opening search result documents

Post by Vasyl-Tracker Dev Team »

Hi Zarko.

There is a bug definitely. We will try to fix it in the upcoming build.

Cheers.
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.
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

Re: IsolatedMainFrames vs Search In Folder and opening search result documents  SOLVED

Post by zarkogajic »

Hi Vasyl,

Thanks.

User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1797
Joined: Mon Jan 15, 2018 9:01 am

IsolatedMainFrames vs Search In Folder and opening search result documents

Post by Dimitar - Tracker Supp »

:)