{"action":"created","issue":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-atom/issues/325","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-atom/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-atom/issues/325/comments","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-atom/issues/325/events","html_url":"https://github.com/OmniSharp/omnisharp-atom/issues/325","id":79134411,"number":325,"title":"Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined","user":{"login":"perbnielsen","id":2314372,"avatar_url":"https://avatars.githubusercontent.com/u/2314372?v=3","gravatar_id":"","url":"https://api.github.com/users/perbnielsen","html_url":"https://github.com/perbnielsen","followers_url":"https://api.github.com/users/perbnielsen/followers","following_url":"https://api.github.com/users/perbnielsen/following{/other_user}","gists_url":"https://api.github.com/users/perbnielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/perbnielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perbnielsen/subscriptions","organizations_url":"https://api.github.com/users/perbnielsen/orgs","repos_url":"https://api.github.com/users/perbnielsen/repos","events_url":"https://api.github.com/users/perbnielsen/events{/privacy}","received_events_url":"https://api.github.com/users/perbnielsen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-05-21T19:42:51Z","updated_at":"2015-05-22T09:51:39Z","closed_at":"2015-05-22T09:06:17Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 0.200.0\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [omnisharp-atom](https://github.com/OmniSharp/omnisharp-atom) package, v0.6.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined\r\n\r\n```\r\nAt /Users/perb/.atom/packages/omnisharp-atom/lib/omnisharp-atom/features/go-to-definition.js:112\r\n\r\nTypeError: Cannot read property 'getBoundingClientRect' of undefined\r\n  at GoToDefinition.pixelPositionFromMouseEvent (/Users/perb/.atom/packages/omnisharp-atom/lib/omnisharp-atom/features/go-to-definition.js:112:77)\r\n  at GoToDefinition.underlineIfNavigable (/Users/perb/.atom/packages/omnisharp-atom/lib/omnisharp-atom/features/go-to-definition.js:78:28)\r\n  at /Users/perb/.atom/packages/omnisharp-atom/lib/omnisharp-atom/features/go-to-definition.js:50:79\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:10.5.0 editor:newline (atom-text-editor.editor.is-focused)\r\n  4x -0:09.5.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)\r\n     -0:06.1.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:05.9.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -0:05.9.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -0:05.9.0 editor:indent (atom-text-editor.editor.is-focused)\r\n     -0:05.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -0:05.6.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -0:05.5.0 editor:indent (atom-text-editor.editor.is-focused)\r\n  7x -0:04.8.0 core:undo (atom-text-editor.editor.is-focused)\r\n     -0:01.8.0 core:close (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-yeoman, v0.2.0\r\nlinter, v0.12.6\r\nomnisharp-atom, v0.6.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-atom/issues/comments/104601411","html_url":"https://github.com/OmniSharp/omnisharp-atom/issues/325#issuecomment-104601411","issue_url":"https://api.github.com/repos/OmniSharp/omnisharp-atom/issues/325","id":104601411,"user":{"login":"perbnielsen","id":2314372,"avatar_url":"https://avatars.githubusercontent.com/u/2314372?v=3","gravatar_id":"","url":"https://api.github.com/users/perbnielsen","html_url":"https://github.com/perbnielsen","followers_url":"https://api.github.com/users/perbnielsen/followers","following_url":"https://api.github.com/users/perbnielsen/following{/other_user}","gists_url":"https://api.github.com/users/perbnielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/perbnielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perbnielsen/subscriptions","organizations_url":"https://api.github.com/users/perbnielsen/orgs","repos_url":"https://api.github.com/users/perbnielsen/repos","events_url":"https://api.github.com/users/perbnielsen/events{/privacy}","received_events_url":"https://api.github.com/users/perbnielsen/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T09:51:39Z","updated_at":"2015-05-22T09:51:39Z","body":"This is great news, I can confirm that adding \"<LangVersion>default</LangVersion>\" to the .csproj works, and I am looking forward to not even having to do that. Great work!\r\n\r\nBut I actually don't think this solved the original problem. At least I am still getting the 'getBoundingClientRect' issue on version 0.6.4, even with everything else working.\r\n\r\nI guess I hijacked my own bug report :-).\r\n\r\nI can still reproduce it by:\r\n1.) Opening the \"Empty\" project I linked above (with the \"<LangVersion>default</LangVersion>\" added).\r\n2.) Open AssemblyInfo.cs and Program.cs\r\n3.) Click somewhere that will fire a codelookup\r\n4.) _Immediately_ after clicking, close both files quickly."}}