Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable PresentationMode for certain problematic configurations #5525

Merged
merged 1 commit into from
Mar 13, 2015
Merged

Disable PresentationMode for certain problematic configurations #5525

merged 1 commit into from
Mar 13, 2015

Conversation

Snuffleupagus
Copy link
Collaborator

Instead of trying to hack around various browser defects, let's just disable PresentationMode in the affected browsers. This patch:

@yurydelendik
Copy link
Contributor

Might work fine. Can you add this variable and the docs to the api.js?

@Hengjie
Copy link
Contributor

Hengjie commented Jan 4, 2015

Instead of just detecting by user agent, is it possible to also detect based on whether or not there exists specific functions that are faulty?

Instead of trying to hack around various browser defects, let's just disable PresentationMode in the affected browsers. This patch:

- Disables PresentationMode in IE11+ when the viewer is embedded; fixes 4711.
@Snuffleupagus
Copy link
Collaborator Author

/botio-windows preview

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.22.172.223:8877/4edaff469d2c6ed/output.txt

timvandermeij added a commit that referenced this pull request Mar 13, 2015
Disable PresentationMode for certain problematic configurations
@timvandermeij timvandermeij merged commit 72cfa36 into mozilla:master Mar 13, 2015
@timvandermeij
Copy link
Contributor

Thank you!

To summarize, in the end we were able to fix presentation mode for Safari in #5838, so this patch targets only IE instead of IE and Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only first page can be seen in presentation mode under IE11
5 participants