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

Moving window from/to retina display doesn't send window_resized message (DEF-2843) #3448

Open
britzl opened this issue May 23, 2019 · 6 comments
Labels
bug Something is not working as expected engine Issues related to the Defold engine glfw

Comments

@britzl
Copy link
Contributor

britzl commented May 23, 2019

Description:
When moving the window between a retina display and a non-retina display on os x it doesn't signal the game with a window_resized message, which can result in rendering/position bugs.

Steps to reproduce:
Enable high dpi in game.project
add print on render script window_resized message
move window between retina and non retina screen

Expected result:
window_resized message sent to render script, containing the new resolution

Actual result:
Nothing.

@britzl britzl added bug Something is not working as expected engine Issues related to the Defold engine and removed bug Something is not working as expected labels May 23, 2019
@britzl britzl added this to Needs triage in Britzl via automation Mar 23, 2020
@Lampogolovii
Copy link

I have this issue too. Also gui.pick_node() works wrong after moving a window from retina to non-retina display vice-versa. Very annoying.

@britzl britzl added this to Needs Triage in Backlog via automation Oct 23, 2021
@DanSmol
Copy link

DanSmol commented Oct 24, 2021

I also have a MacBook with a second regular monitor. And this bug is also reproduced.
After resizing the window on another monitor, the problem goes away.
I checked the behavior on Window 10 on regular monitors - everything is fine, the bug does not reproduce.

@AGulev
Copy link
Contributor

AGulev commented Nov 26, 2021

related issue #3449

@dri-richard
Copy link
Contributor

dri-richard commented Apr 14, 2023

This seems to occur even without High DPI enabled, e.g. in the defold-input example
Video of flickering, on a non-retina external monitor:

Screen.Recording.2023-05-22.at.16.36.10.mov

@dri-richard
Copy link
Contributor

Will migrating to GLFW3 possibly address this?

@britzl
Copy link
Contributor Author

britzl commented Sep 25, 2023

Will migrating to GLFW3 possibly address this?

Not sure, but GLFW3 brings with it a lot of changes so it is not unlikely that it will help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected engine Issues related to the Defold engine glfw
Projects
Backlog
  
Needs Triage
Britzl
  
Needs triage
Development

No branches or pull requests

5 participants