Issue double monitor disconnecting

Hello,

I have several issues with windows when unplugging a second monitor where there are windows displayed on it.

If the windows is in fullscreen, sometimes it goes reduced to a bar and when trying to enlarge it again, a lot of controls are not redraw.

Sometimes, the window just close itself or the app crash.

Here is an example of a window after disconnecting a second monitor.

Of course the resolution are not the same between monitors and the scaling too.

How could I fix this issue?

Regards,

Julien

Create a sample code showing the issue, zip the project, report the issue in the issue tracker with instructions on how to reproduce the problem together with the uploaded sample. Wait a feedback.

It always take me ages to create a project by removing all the plugins for the project to build.

Just wanted to know if someone encountered a similar issue.

Even Xojo is crashing after if I try to hit the pause button while in debugging mode

There are several issues logged already relating to the window size / resolution changing so you could be hitting one of them.

https://tracker.xojo.com/xojoinc/xojo/-/issues/78642

https://tracker.xojo.com/xojoinc/xojo/-/issues/80152

https://tracker.xojo.com/xojoinc/xojo/-/issues/80151

2 Likes

Create a sample project. As in File > New.

If you can’t reproduce it in the brand new project, it’s something you can work around in your main. The process of trying to reproduce the problem will also help you identify key factors that will help debug.

This is 100% reproducible for me but seems to be hardware dependant so difficult for Xojo to reproduce. You can continue to work on the project by using File→New Workspace then closing the borked workspace. If a debug was running, you’ll need to kill it using Task Manager.