-
Notifications
You must be signed in to change notification settings - Fork 44
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
Listen to screen DPI changes #864
Conversation
CI is failing because we changed
|
Revisiting this, it looks like the only place we are setting the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works really smoothly when moving between HiDPI laptop and regular resolution external monitor. Manually tested using:
- agg
- celiagg
- qpainter
- quartz
- gl
The gl backend had issues with HiDPI display, but other than that everything worked as expected.
I have opened #907 for the OpenGL issues. |
Wait... How is the Wx test passing now? |
Two tests - one for Wx (the old one), one for Qt |
But that doesn't explain why setting |
That the original change was on the Qt-specific |
Right... Thanks for helping me finally understand the code that I wrote. 😞 And thanks for seeing this change through! LGTM. |
Closes #863
Note that I haven't tested this extensively.
base_pixel_scale
gets cached in a few places, so there a probably lingering corner cases.