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

WIP: HiDPI #21

Closed
wants to merge 1 commit into from
Closed

WIP: HiDPI #21

wants to merge 1 commit into from

Conversation

larsoner
Copy link
Contributor

Closes #20

Not working yet. The RenderWindow.SetSize(...) does not seem to take effect, so resolution is stuck at half on HiDPI screens. In the meantime, forcing _pixel_ratio=1. at least fixes the interaction.

@banesullivan do you have a HiDPI screen where you could see if it's possible to get HiDPI rendering to actually work on BackgroundPlotter? I'm not sure what's needed to get that working, but once it does, I think the workarounds here might not be necessary, or uncommenting the _pixel_ratio = ... thing might make interactions work properly.

@banesullivan
Copy link
Member

I'll try this out as soon as I can

@akaszynski
Copy link
Member

do you have a HiDPI screen

I've got a 4K screen I can work on. Once this is passing tests please ping me and I'll take a look.

@larsoner
Copy link
Contributor Author

larsoner commented Jul 1, 2020

This probably needs to be fixed at the VTK end. If it's possible at the Python level we can backport it by copying their adapter py code, but it might require C++ changes. We'll see

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

Successfully merging this pull request may close these issues.

BUG: BackgroundPlotter does not handle HiDPI properly
3 participants