You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using window_set_position(0,0) immediately before or after a window_set_size call, the position is not correctly set, instead appearing at (0,25)
If i call set_position 1 frame after, it works as intended. Another user tested in discord and did not have this problem, which leads me to believe it may be machine/windows dependent. (im on win10)
Steps To Reproduce
set_window_size(display_get_width(), set_window_height(display_get_height()-50)
note: -50 should be whatever your taskbar size is
then set window_position(0,0).
Which version of GameMaker are you reporting this issue for?
IDE v2024.11.0.179 Runtime v2024.11.0.227
Which operating system(s) are you seeing the problem on?
YYDan
changed the title
window_set_size and set_position not working on same frame
Manual Content: window_set_size/position() pages need to say they will not work on the same frame as calling the other one
Jan 16, 2025
Description
https://discord.com/channels/262834612932182025/880010995270033458/1326270230556835962
Link to problem discussion in GM discord
When using window_set_position(0,0) immediately before or after a window_set_size call, the position is not correctly set, instead appearing at (0,25)
If i call set_position 1 frame after, it works as intended. Another user tested in discord and did not have this problem, which leads me to believe it may be machine/windows dependent. (im on win10)
Steps To Reproduce
set_window_size(display_get_width(), set_window_height(display_get_height()-50)
note: -50 should be whatever your taskbar size is
then set window_position(0,0).
Which version of GameMaker are you reporting this issue for?
IDE v2024.11.0.179 Runtime v2024.11.0.227
Which operating system(s) are you seeing the problem on?
Windows 10.0.19045.0
Which platform(s) are you seeing the problem on?
Windows
c30e0af0-89f7-4c05-8dd2-c5376a8b517e
The text was updated successfully, but these errors were encountered: