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

Scaling issues on macOS when moving window between different screens #357

Closed
BenBergman opened this issue Jun 27, 2019 · 2 comments · Fixed by #452
Closed

Scaling issues on macOS when moving window between different screens #357

BenBergman opened this issue Jun 27, 2019 · 2 comments · Fixed by #452

Comments

@BenBergman
Copy link
Contributor

When I move a window between monitors with different levels of scaling, the contents of the window grow/shrink proportionately.

Screen Shot 2019-06-27 at 09 41 08 AM

Screen Shot 2019-06-27 at 09 41 13 AM

Screen Shot 2019-06-27 at 09 41 26 AM

This might be related to #350, but since I'm seeing it on macOS instead of Linux it seemed a new ticket was appropriate.

@mitchmindtree
Copy link
Member

@BenBergman thanks for opening the issue! I have a feeling that #350 indeed be related - this leads me to suspect that this might be something to do with vulkano-win, or perhaps the way we're using it.

Out of curiosity, does the behaviour correct itself if you manually resize the window after moving the window onto the screen with the different DPI? If it does, it might just be that we should be re-creating the vulkan swapchain when receiving the HiDpiChanged event (at least I think it's called something like that).

@BenBergman
Copy link
Contributor Author

Unfortunately, resizing does not correct the behaviour.

Screen Shot 2019-07-04 at 16 41 09 PM

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

Successfully merging a pull request may close this issue.

2 participants