• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Window won't load on reset

DragonflightDesign

Resource contributor
Messages
1,397
Country
northernireland
When hitting ctrl+; to reset a flight, an undocked window fails to load. It simply sits there with the cursor alternating between 'wait' and 'working in background' and the framerate crashed badly to about 50% of previous. Thinking I might have a faulty gauge, I commented out ALL gauges for that window and restarted FS with the intention of introducing them one-by-one until I found the culprit. On the first reset with no gauges I got the same behaviour, so I assumed that maybe it didn't like being on the second screen. I pulled it across to the main monitor, saved the flight, closed FS and restarted it. The window opened successfully (note: still no gauges) but on reset immediately exhibited the same behaviour. It's not a z-order conflict - I checked that and it doesn't happen (with or without gauges) if the window is docked.

I've had this before but I really can't recall what I did to fix it. I think it just 'went away'. Anyone any ideas what's going on? Why does it do this only when undocked?
 
Additional info... It happens on any undocked window, with or without gauges, if that window is dragged to the second monitor and then ctrl+; is used. Ever after, even if the partly-loaded window is dragged back to the main monitor and the flight is saved (to save the new window position), the window never completes loading. If I load another flight and come back to this one, the behaviour remains the same i.e. that undocked window only partly loads. To add to the irritation, when the problem arises, it also resizes all of my open undocked windows. FS appears to be saving crap information somewhere and the only thing that I can state with certainty is that it's not in the .flt file.

If I shut down and restart FS, the problem is no longer there... until I need to reset the flight again and a window is open on the secondary monitor.

My main monitor is 32" and the secondary one is 24", just in case this may be having any effect on the problem.
 
Are the monitors running at the same screen resolution?
If you trap the reset event and force the windows closed, will they re-open correctly?
 
Different screen res, Doug (2560x1440 and 1920x1080). However... as I've just found, P3Dv4 works fine, so the problem is restricted to FSX. I'll try the trap trick and if it solves the problem, I'll enclose the code in an 'if FSX' block.

Watch this space (but not too closely :p)

Edit: umm. That means I need to figure out which windows are open. Any ideas? Or 'go search the forum' ! :laughing:
 
Yes, that's the one...
No worries, it's still early in the morning here in GMT-5 land.
You don't need to check the current status of the windows anyway. Just call panel_window_close_ident() and be done with it.
 
Didn't work... :confused: If it doesn't just 'go away' then it will have to go in the list of known problems. I'll get someone with same-size monitors to check first in case that is the problem.
 
Back
Top