Forum Discussion
IE Mode - Edge ignores user preference for popup window position
Hi Kelly,
Thanks for the response. Yes, my preference/expected behavior would be that Edge opens popups in IE Mode respecting the screen boundaries and if the window for some reason opens outside the screen bounds, there should be a way for the user to remedy this for subsequent opens.
I went back and retested IE and Edge based on your second paragraph. It appears that I was mistaken in my assumption that IE and Edge were remembering the user preference. At least in Edge, the window position is recorded in the preferences file, but this doesn't seem to control where the window will open next. However, both IE and Edge (in Edge mode) correctly respect the screen bounds when opening these popups.
After a little more testing I think Edge might be opening these windows out of bounds only when multiple displays are present, and not all displays are using the same scaling (such as when an external monitor is connected to a laptop).
It should be possible to duplicate the issue this way:
- Set the main display to 125% scaling
- Connect a 2nd display and set it to 100% scaling
- Open an Edge window full screen on the 2nd display
- Invoke the type of popup in IE Mode described in my original post (window.open)
The window will open at least partially offscreen. It may be necessary to change the relative position of the displays in Display Settings to wind up with a configuration that results in an offscreen window.
Maybe IE Mode is basing the popup position on the main display scaling for all displays?
AndrewSAIF Thanks for the additional information! I will check with the IE Mode team and follow up with any updates from them.
-Kelly
- Kelly_YNov 20, 2020Microsoft
AndrewSAIF The IE Mode team appreciated the detailed report They still need to investigate further and follow up.
Regarding workarounds, they said:
"Unfortunately I don't have any great ideas for workarounds. If you can change the page, you could maybe adjust it to create a new tab instead of a new window (drop the third param to window.open), or to use specific coordinates that don't exhibit the bug (left and top in the feature string)."
We will let you know if they need any more information. Thanks!
-Kelly
- Baz69Dec 17, 2020Copper Contributor
Hi I have the same issue and I have the setup described, laptop at one resolution (3840 * 2160) and 2 additional monitors at a different resolution (1920 * 1080). And I do not wish to change the resolution as a solution. Works perfectly well with chrome and Firefox.
The response from the technical team is not very helpful, as generally a pop up screen is clicked by the user from a 3rd party webpage which I don't believe we have control over the position it will open? Unless you can describe a way to do that. I am probably not as IT savvy as the other person.
I also struggle most of the time to use the move command to get the window back to the screen bounds and hence having started moving away from using Edge when using websites that require pop up / chat screens. I would therefor ask that this is looked in to with some urgency as have seen the same remarks on various forums.
@AndrewSAIF