Page 1 of 1

MergDoc / mergDocShowPreview Bug?

Posted: Sun Oct 08, 2017 11:39 am
by istech
Hi all,

I have a strange problem using mergDocShowPreview to view a word document using the modular view.

The function works as expected and I can view the .doc however after you press done in the modular preview I get the "carrier", "time", "battery" info stay at the top of the simulator. To add this makes the top of the app unresponsive. However, if I then use a merg pdf viewer the issue goes away. It seems like a focus problem. I have tried to add "focus on stack "mainstack" call after but to no avail. Any suggestions would be appreciated.


Using LC 8.1.6 Xcode 8.2.1

Thanks

Re: MergDoc / mergDocShowPreview Bug?

Posted: Sun Oct 08, 2017 3:54 pm
by bogs
Maybe this thread about focus would be of some help.

Re: MergDoc / mergDocShowPreview Bug?

Posted: Mon Oct 09, 2017 10:38 am
by istech
Thanks for the reply bogs. However, it did not help in the end.

I am leaving this here to help someone avoid spending hours trying to fix this issue.

It turns out the status bar would reactivate after using the mergDocShowPreview function(not sure if this is a bug or the need for a function to be added to the merg external to read that status bar is hidden from mainstack and apply). The only way to remove it is to use the "iphoneHideStatusBar" command. After doing this all worked as normal. (albeit spending hours to find the fix) :cry:

Re: MergDoc / mergDocShowPreview Bug?

Posted: Mon Oct 09, 2017 12:21 pm
by bogs
Sorry it did not help, but glad you were able to find a resolution.