Modal dialogues appearing offscreen

I’ve finally narrowed down what is causing this.

If I close an unsaved asset whose window is on my second monitor, the modal unsaved dialogue appears offscreen.

My main screen is 4k and the second screen is 1080p. It may be a difference in the way Windows 10 scales the UI causing this - I expect the dialogue is being centered either based on the main screen’s size or the main screen’s scale.

Hello Antidamage,

I’m attempting to reproduce this but I’m actually not sure of an asset that asks to be saved upon being closed. What asset are you doing this with? All assets, as far as I know, will allow you to close the window that they’re being edited in and remain unsaved until you try to close the entire editor, at which time you’ll be prompted to save them.

Virtually anything you can edit - meshes, materials, textures, blueprints. I run into this with materials more but it happens with anything. I’ve never seen the behaviour you describe where things can remain unsaved but their editor window is closed.

You can see the hidden modal dialogue in the alt-tab placard.

I see what you’re talking about when working with a Material that you haven’t hit apply for, as it would like to know if you want to apply the changes, but the editor will not stop you from closing a Blueprint Editor window without saving the blueprint. It’ll just place an asterisk in the top right of the blueprint’s thumbnail in the content browser to denote that it has unsaved changes and then prompt you to save if you try to close the entire project. The same goes for Static Meshes and the sort.

Maybe there is a setting somewhere which is requiring you to save every asset before closing the window associated with it.

I’ll be testing to see if I can get the same issue you’re experiencing with the differences in monitors by using this message posed by the Material editor.

Thanks! Definitely try the different-dpi-scaling setup I mentioned, I think that’s probably the culprit.

Unfortunately I got pretty busy at the end of this week, I’ll be taking a look Monday. Until then, could you try turning off the UI scaling to see if you get the same results? We’ve been suggesting that as a fix for other issues as it seems to cause some problems with the editor.

Hello Antidamage,

I apologize for the delay, for some reason this post stopped showing up in my list of assigned posts. I’ve tried reproducing this with UI Scaling but haven’t been able to reproduce the issue. Did changing the scaling fix the issue for you or are you still experiencing it?

Adjusting scaling did not fix the issue - I still have this problem on every machine I use, including rigs with the same sized screens (so no scaling change).

That’s surprising that this is happening on every PC you use and makes me wonder if it may be something outside of the editor that you have consistent between every setup. I was going to suggest deleting the editor’s saved settings in the AppData/Local/UnrealEngine directory, which would reset the editor windows’ positions but if it’s the same on other machines with fresh installations, that may not help.

Are all of these different machines on Windows 10? Are there any similarities in hardware or software that could be worth mentioning? Without getting some kind of reproduction of this locally, there isn’t much I can do.

Yup, they’re all Windows 10. It might be worth noting though that I had this happen on Windows 8 back before 10 came out too. I’ve had it happen so much that it’s odd that it’s difficult to reproduce. I’ll try to make a video tonight if I can get something to capture both screens. I don’t know if it will help much but at least you’ll know I’m not crazy! :slight_smile:

I’ve been experiencing what seems like the same problem while working from home. My primary monitor is 4k. (Windows by default appears to set it to 150% scaling.) My secondary monitor is 1080 (100% scaling). In my case, the modal dialog that appeared was when I attempted to delete a particle emitter from a particle system that had multiple LODs. I’m also on Windows 10.

In my case, however, telling Windows to scale my primary monitor to 100% seemed to get the dialog to appear. It’s obviously not ideal though, because I can’t really work with everything so small, but at least it lets me click the dialog and make it go away.

The easiest fix is to alt-tab so you can see if there’s a model dialogue blocking you in the window list, then hit escape to get back out of it. Then you can drag any secondary windows to the main screen and try closing them again, at which point the dialogue will show.

Great! Thanks for the workaround.

Hello again Antidamage. I’ve still yet to get this to reproduce locally but I do have a bit of an update. Another staff member is having this on their setup so I will be talking to them to try to narrow down exactly what part of the setup is causing this, since it doesn’t seem like it’s UI scaling on its own.

I was able to get it to reproduce partially. The dialogue was off center for me but not quite off screen which should be enough, I imagine different settings would make it more offset and cause it to be off screen. I’ve placed a bug report in for it and you can find that here: UE-40074