{"action":"opened","issue":{"url":"https://api.github.com/repos/Scirra/Construct-3-bugs/issues/2306","repository_url":"https://api.github.com/repos/Scirra/Construct-3-bugs","labels_url":"https://api.github.com/repos/Scirra/Construct-3-bugs/issues/2306/labels{/name}","comments_url":"https://api.github.com/repos/Scirra/Construct-3-bugs/issues/2306/comments","events_url":"https://api.github.com/repos/Scirra/Construct-3-bugs/issues/2306/events","html_url":"https://github.com/Scirra/Construct-3-bugs/issues/2306","id":379883247,"node_id":"MDU6SXNzdWUzNzk4ODMyNDc=","number":2306,"title":"Maximizing window sometimes does not resize viewport correctly","user":{"login":"SnipG","id":28864889,"node_id":"MDQ6VXNlcjI4ODY0ODg5","avatar_url":"https://avatars1.githubusercontent.com/u/28864889?v=4","gravatar_id":"","url":"https://api.github.com/users/SnipG","html_url":"https://github.com/SnipG","followers_url":"https://api.github.com/users/SnipG/followers","following_url":"https://api.github.com/users/SnipG/following{/other_user}","gists_url":"https://api.github.com/users/SnipG/gists{/gist_id}","starred_url":"https://api.github.com/users/SnipG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnipG/subscriptions","organizations_url":"https://api.github.com/users/SnipG/orgs","repos_url":"https://api.github.com/users/SnipG/repos","events_url":"https://api.github.com/users/SnipG/events{/privacy}","received_events_url":"https://api.github.com/users/SnipG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-12T17:38:40Z","updated_at":"2018-11-12T17:38:40Z","closed_at":null,"author_association":"NONE","body":"## Problem description\r\n\r\nBug that has been with c3runtime from beginning. Least as far as i can remember. But i still don't have a reliable way to reproduce it. But still happens sometimes pretty often and is very annoying.\r\nWhen you preview and maximise window or just preview in certain case, the viewport won't be correctly scaled. Resultsing bad alignment of viewport, see pic. Sometimes you can preview 10+times in row without it happening.\r\nHow it looks when bugged.\r\n![maxwindowbug](https://user-images.githubusercontent.com/28864889/48364579-68ffe200-e6b1-11e8-8ec6-509732169209.jpg)\r\n\r\nHow it should be.\r\n![correctscale](https://user-images.githubusercontent.com/28864889/48364654-a2d0e880-e6b1-11e8-91cd-056b1db01c5f.jpg)\r\n\r\n## Attach a .c3p\r\n\r\n## Steps to reproduce\r\nIt happens randomly, haven't come up with 100% way to replicate it. But sometimes it can happen 3 out of 5 previews etc.\r\n\r\n1.New project. Preview, before you see layout - maximize window\r\n2.For best results,  first scale window small. So when you preview it should start up as very small\r\n3.\r\n\r\n## Observed result\r\nScaling viewport is bugged.\r\n\r\n## Expected result\r\nCorrect viewport scale every preview or when window is maximized.\r\nHaven't had such issue with c2runtime. \r\n\r\n\r\n## Affected browsers\r\n\r\n* Chrome: yes\r\n\r\n## System details\r\n\r\n<details><summary>View details</summary>\r\n\r\nPlatform information\r\nBrowser: Chrome\r\nBrowser version: 70.0.3538.77\r\nBrowser engine: Blink\r\nBrowser architecture: 64-bit\r\nContext: browser\r\nOperating system: Windows\r\nOperating system version: 10\r\nOperating system architecture: 64-bit\r\nDevice type: desktop\r\nDevice pixel ratio: 1\r\nLogical CPU cores: 4\r\nApprox. device memory: 4 GB\r\nUser agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36\r\nC3 release: r125 (beta)\r\nLanguage setting: en-US\r\n\r\nLocal storage\r\nStorage quota (approx): 13 gb\r\nStorage usage (approx): 743 mb (5.4%)\r\nPersistant storage: Yes\r\n\r\nBrowser support notes\r\nThis list contains missing features that are not required, but could improve performance or user experience if supported.\r\n\r\nUI effects are disabled in settings.\r\nWebGL information\r\nVersion string: WebGL 2.0 (OpenGL ES 3.0 Chromium)\r\nNumeric version: 2\r\nSupports NPOT textures: yes\r\nSupports GPU profiling: yes\r\nSupports highp precision: yes\r\nVendor: Google Inc.\r\nRenderer: ANGLE (AMD Radeon HD 5700 Series Direct3D11 vs_5_0 ps_5_0)\r\nMajor performance caveat: no\r\nMaximum texture size: 16384\r\nPoint size range: 1 to 1024\r\nExtensions:\r\n\r\nEXT_color_buffer_float\r\nEXT_disjoint_timer_query_webgl2\r\nEXT_texture_filter_anisotropic\r\nOES_texture_float_linear\r\nWEBGL_compressed_texture_s3tc\r\nWEBGL_compressed_texture_s3tc_srgb\r\nWEBGL_debug_renderer_info\r\nWEBGL_debug_shaders\r\nWEBGL_lose_context\r\nAudio information\r\nSystem sample rate: 44100 Hz\r\nOutput channels: 2\r\nOutput interpretation: speakers\r\nSupported decode formats:\r\n\r\nOgg Opus (audio/ogg; codecs=opus)\r\nWebM Opus (audio/webm; codecs=opus)\r\nOgg Vorbis (audio/ogg; codecs=vorbis)\r\nWebM Vorbis (audio/webm; codecs=vorbis)\r\nMPEG-4 AAC (audio/mp4; codecs=mp4a.40.5)\r\nMP3 (audio/mpeg)\r\nFLAC (audio/flac)\r\nPCM WAV (audio/wav; codecs=1)\r\nSupported encode formats:\r\n\r\nWebM Opus (audio/webm; codecs=opus)\r\nVideo information\r\nSupported decode formats:\r\n\r\nWebM VP9 (video/webm; codecs=vp9)\r\nWebM VP8 (video/webm; codecs=vp8)\r\nOgg Theora (video/ogg; codecs=theora)\r\nH.264 (video/mp4; codecs=avc1.42E01E)\r\nSupported encode formats:\r\n\r\nWebM VP9 (video/webm; codecs=vp9)\r\nWebM VP8 (video/webm; codecs=vp8)\r\n\r\n</details>\r\n"}}
{"actor":{"display_login":"SnipG"}}