{"action":"created","issue":{"url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6176","repository_url":"https://api.github.com/repos/MonoGame/MonoGame","labels_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6176/labels{/name}","comments_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6176/comments","events_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6176/events","html_url":"https://github.com/MonoGame/MonoGame/issues/6176","id":294303505,"number":6176,"title":"OpenGL project switches to full screen mode when fullscreen flag is  set to off / false","user":{"login":"YTN0","id":5132310,"avatar_url":"https://avatars3.githubusercontent.com/u/5132310?v=4","gravatar_id":"","url":"https://api.github.com/users/YTN0","html_url":"https://github.com/YTN0","followers_url":"https://api.github.com/users/YTN0/followers","following_url":"https://api.github.com/users/YTN0/following{/other_user}","gists_url":"https://api.github.com/users/YTN0/gists{/gist_id}","starred_url":"https://api.github.com/users/YTN0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YTN0/subscriptions","organizations_url":"https://api.github.com/users/YTN0/orgs","repos_url":"https://api.github.com/users/YTN0/repos","events_url":"https://api.github.com/users/YTN0/events{/privacy}","received_events_url":"https://api.github.com/users/YTN0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-05T08:05:28Z","updated_at":"2018-03-18T22:28:59Z","closed_at":"2018-03-18T22:28:59Z","author_association":"NONE","body":"I am currently using MG 3.7.0.1245 (pretty recent dev build) for an OpenGL project on Windows 10 using VS 2017.\r\n\r\nOn my laptop, I am setting graphics mode 1920x1080 with fullscreen *off* (GraphicsDevice.IsFullScreen = false).\r\n\r\n1920x1080 is my Windows 10 /  laptop screen resolution.\r\n\r\nI previously had no app.manifest file (the project settings had Manifest set to \"embed manifest with default settings), however, with that setting, I was having issues with the DPI scaling on my laptop and the screen size / backbuffer.\r\n\r\nWithout the project app.manifest, setting the mode to 1920x1080 with fullscreen *off* worked fine i.e. I would get a windowed output.\r\n\r\nHowever, I have since created an app.manifest file which has the dpiAware = true entry. This fixes my DPI scaling problem, however now, when I set the mode to 1920x1080 and have fullscreen set to *off*, the app still launches in fullscreen. If I change the app mode to another resolution e.g. 800x600 (which is different from my screen resolution of 1920x1080), then it displays correctly in windowed mode.\r\n\r\nSo the issue seems to be setting a mode that matches the screen resolution (in this case 1920x1080) and having dpiAware = true. When those 2 things are aligned, the fullscreen flag seems to be ignored and it sets the app to fullscreen anyways.\r\n\r\nUnless I am mistaken, the app should always be in windowed mode when the isFullScreen flag is set to false, even if the window size matches the screen resolution."},"comment":{"url":"https://api.github.com/repos/MonoGame/MonoGame/issues/comments/374058456","html_url":"https://github.com/MonoGame/MonoGame/issues/6176#issuecomment-374058456","issue_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6176","id":374058456,"user":{"login":"YTN0","id":5132310,"avatar_url":"https://avatars3.githubusercontent.com/u/5132310?v=4","gravatar_id":"","url":"https://api.github.com/users/YTN0","html_url":"https://github.com/YTN0","followers_url":"https://api.github.com/users/YTN0/followers","following_url":"https://api.github.com/users/YTN0/following{/other_user}","gists_url":"https://api.github.com/users/YTN0/gists{/gist_id}","starred_url":"https://api.github.com/users/YTN0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YTN0/subscriptions","organizations_url":"https://api.github.com/users/YTN0/orgs","repos_url":"https://api.github.com/users/YTN0/repos","events_url":"https://api.github.com/users/YTN0/events{/privacy}","received_events_url":"https://api.github.com/users/YTN0/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T22:28:59Z","updated_at":"2018-03-18T22:28:59Z","author_association":"NONE","body":"@cra0zy Doh... Thanks! \r\n\r\nDidn't quite see that one. It looks completely different with the DPI aware flag off compared to with the flag on (as it worked in past builds), so I didn't see that it might actually still be windowed but just not be showing the frame.\r\n\r\nI'll close this out."}}
{"actor":{"display_login":"YTN0"}}