Restore the last view of document / panes  SOLVED

PDF-XChange Editor SDK for Developers

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

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

Restore the last view of document / panes

Post by zarkogajic » Tue Mar 24, 2020 4:17 pm

Hi support,

This should probably go to EU Forum, but I first need to double check if this should do what I think it should...

Having a document open, some pane like Layers made visible, document closed.

Reopening the same document will by default show the Layers pane.

I want to disable this, and I thought settings this option ("Restore the last used view ..." ) to OFF should do it:

image.png

However, even when the setting is OFF, upon reopening the document, all document related panes will be displayed if they were visible before closing the document previously.

So, is this the setting to be used?

Btw, that should be "DocView.RestoreLastLayout", correct?

p.s.
Using version 335.


-žarko

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

Re: Restore the last view of document / panes

Post by Tracker Supp-Stefan » Wed Mar 25, 2020 9:49 am

Hello zarkogajic,

You probably need to turn this one off as well:
Untitled.png
Kind regards,
Stefan

zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

Re: Restore the last view of document / panes

Post by zarkogajic » Wed Mar 25, 2020 11:07 am

Hi Stefan,

That setting is for something else (page layout and zoom).

I've done a few more tests and this issue happens only for NON-PDF documents.

When a non-PDF doc is opened (+ conversion on the fly) - activating some panes and closing the document - reopening reopens the panes - so the "DocView.RestoreLastLayout" setting is not applied to NON PDFs.


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

Re: Restore the last view of document / panes

Post by Tracker Supp-Stefan » Wed Mar 25, 2020 12:19 pm

Hello zarkogajic,

Thanks! It was worth a try I guess!
I will now ask Sasha to take a look and see if he has any further recommendations.

Kind regards,
Stefan

zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

Re: Restore the last view of document / panes

Post by zarkogajic » Wed Mar 25, 2020 4:29 pm

:)


User avatar
Sasha - Tracker Dev Team
User
Posts: 4888
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Restore the last view of document / panes

Post by Sasha - Tracker Dev Team » Thu Mar 26, 2020 1:07 pm

Hello zarkogajic,

That indeed should go to the EU forums - if the fix should be made - it should be made in the EU Editor thus the SDK will automatically be fixed.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

Re: Restore the last view of document / panes  SOLVED

Post by zarkogajic » Thu Mar 26, 2020 1:19 pm

Hi Alex,

Ok, thanks. Will post there...


User avatar
Sasha - Tracker Dev Team
User
Posts: 4888
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Restore the last view of document / panes

Post by Sasha - Tracker Dev Team » Thu Mar 26, 2020 1:54 pm

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply