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

avoid invalid with/height redirects & increase maximum plot size #5870

Merged
merged 2 commits into from
Dec 12, 2019

Conversation

jan-glx
Copy link
Contributor

@jan-glx jan-glx commented Dec 11, 2019

fixes #4968 for a few years

limits the maximal and minimal height and width after resize to avoid invalid sizes
fixes rstudio#4968 for good
@jan-glx jan-glx changed the title update maximum figure size to twice 4k avoid invalid with/height redirects & increase maximum plot size Dec 11, 2019
Copy link
Member

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Very much appreciate the contribution!

@jmcphers jmcphers merged commit e99769c into rstudio:master Dec 12, 2019
@jan-glx
Copy link
Contributor Author

jan-glx commented Dec 12, 2019

Wow. That was fast. I should say that I did not actually test this. (Did expect some CI system to build it for me 😇). When will it be on https://dailies.rstudio.com/ or is there another place to get builds w/o going through the trouble myself?

@jmcphers
Copy link
Member

I tested this earlier this morning and found that the commas cause the querystring to stop concatenating after adding the width, so fixed here:

b47e8b0

After that change this patch tested fine for me. 1.3.665 should be available for you to try later today.

@jan-glx
Copy link
Contributor Author

jan-glx commented Dec 13, 2019

Damn, sorry for the extra work! @self: No more blind coding!

@jan-glx
Copy link
Contributor Author

jan-glx commented Dec 15, 2019

I tested this in RStudio-1.3.668 and it works :) no more invalid width error :)

@jmcphers
Copy link
Member

Glad to hear it!

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.

"invalid width" in rstudio-server zoomed plot
3 participants