@keszegh, sorry I am very busy at the moment and it is difficult to find spare time to work on these. Luckily the player exhibit the issues, that should make it easier to reproduce and debug. I'll see what I can do today.
@keszegh, so I took some time to investigate both issues. On the Screen rendering side, I have no clue. Rendering code is called the same way as on Windows, it just doesn't draw anything. Resizing the window gives a glimpse of what its content should have been, but it is as if it was drawn on some kind of back buffer and never brought to front. QT or SO forums are not helpful so far, and I lack some kind of external OpenGL diagnostic tool on macOS.
About the crash on exit, it is clear what happens: some statically allocated structures are destroyed in the wrong order when the application terminates, I am not sure yet how I will fix this, but I'll certainly find a way.
thanks @hgy29, that's already some progress. i hope you can find the cause of the screen issue too, quite an important one (for me at least). let me know how i can help. e.g., should i try older versions of gideros to find where this error was introduced?
UPDATED. some results of testing older gideros studios on Mac (os version 15): 2022-10 -screen issue YES, quit issue NO 2021-01 -screen issue YES, quit issue NO 2020-09 -studio does not start up 2020-7-1 -studio does not start up 2020-05 -studio does not start up, running directly player and loading the project, it seemed that screen issue YES, although second time it just froze, so i'm not sure i did it right. yet this one works: 2020-04 screen issue NO, quit issue NO 2019-12-1 -screen issue NO, quit issue NO
so in any case it is a good start to look between 2020-04 and 2020-05
Thanks for doing this @keszegh. I've figured out how to fix quit issue (unless it hides a more complex one), and I suspect the screen issue to be related to a change in QT, maybe the update from QT 5 to QT 6. I will check the changes between 2020.4 and 2020.5
Crash on exit on QT/macos is gone, and I managed to have something actually displayed in Screen(s), but there is something wrong: display is upside-side and too small, and I don't understand why.
@hgy29 , that's a nice progress already. i checked again and 2020-05 is the version where i cannot run the studio and also loading the project into gideros player freezes, so i cannot really test anything. and 2020-04 was still fine in every respect.
@keszegh, in the end the upside down issue I had for Screen on mac was caused by a third party tool on my mac. The changes have made seem to work for both QT Win & QT Mac, I still need to check QT Linux but I am confident.
Comments
On the Screen rendering side, I have no clue. Rendering code is called the same way as on Windows, it just doesn't draw anything. Resizing the window gives a glimpse of what its content should have been, but it is as if it was drawn on some kind of back buffer and never brought to front. QT or SO forums are not helpful so far, and I lack some kind of external OpenGL diagnostic tool on macOS.
About the crash on exit, it is clear what happens: some statically allocated structures are destroyed in the wrong order when the application terminates, I am not sure yet how I will fix this, but I'll certainly find a way.
Likes: MoKaLux, keszegh, pie, PaulH
e.g., should i try older versions of gideros to find where this error was introduced?
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
some results of testing older gideros studios on Mac (os version 15):
2022-10 -screen issue YES, quit issue NO
2021-01 -screen issue YES, quit issue NO
2020-09 -studio does not start up
2020-7-1 -studio does not start up
2020-05 -studio does not start up, running directly player and loading the project, it seemed that screen issue YES, although second time it just froze, so i'm not sure i did it right.
yet this one works:
2020-04 screen issue NO, quit issue NO
2019-12-1 -screen issue NO, quit issue NO
so in any case it is a good start to look between 2020-04 and 2020-05
Likes: MoKaLux, hgy29, pie
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: pie, MoKaLux, keszegh
Likes: MoKaLux, keszegh
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh, MoKaLux, PaulH
Fragmenter - animated loop machine and IKONOMIKON - the memory game