{"action":"created","issue":{"url":"https://api.github.com/repos/natario1/CameraView/issues/323","repository_url":"https://api.github.com/repos/natario1/CameraView","labels_url":"https://api.github.com/repos/natario1/CameraView/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/natario1/CameraView/issues/323/comments","events_url":"https://api.github.com/repos/natario1/CameraView/issues/323/events","html_url":"https://github.com/natario1/CameraView/issues/323","id":380504884,"node_id":"MDU6SXNzdWUzODA1MDQ4ODQ=","number":323,"title":"Incorrect picture is taken in \"flat\" landscape.","user":{"login":"billschauweker","id":36485193,"node_id":"MDQ6VXNlcjM2NDg1MTkz","avatar_url":"https://avatars1.githubusercontent.com/u/36485193?v=4","gravatar_id":"","url":"https://api.github.com/users/billschauweker","html_url":"https://github.com/billschauweker","followers_url":"https://api.github.com/users/billschauweker/followers","following_url":"https://api.github.com/users/billschauweker/following{/other_user}","gists_url":"https://api.github.com/users/billschauweker/gists{/gist_id}","starred_url":"https://api.github.com/users/billschauweker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billschauweker/subscriptions","organizations_url":"https://api.github.com/users/billschauweker/orgs","repos_url":"https://api.github.com/users/billschauweker/repos","events_url":"https://api.github.com/users/billschauweker/events{/privacy}","received_events_url":"https://api.github.com/users/billschauweker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-14T02:10:27Z","updated_at":"2018-12-16T15:13:39Z","closed_at":"2018-12-16T15:13:39Z","author_association":"NONE","body":"*If you are trying to report a bug, please file the information below.\r\nPrerequisites:*\r\n\r\n<!-- Add [x] inside the brackets -->\r\n\r\n- [x ] *I am using the latest version*\r\n- [x ] *I can reproduce the bug in the demo app, and if not...*\r\n- [ ] *I have tried to reproduce the bug in the demo app*\r\n\r\n#### Detailed steps to reproduce the issue:\r\n\r\n1. Start the demo app.\r\n2. Choose a page or picture that you like in landscape; prop it up like on a music stand.\r\n3. Orient the device to landscape. Take a picture.\r\n4. Everything is fine - picture fills the screen.\r\n5. Lay the page/picture flat on a desktop.\r\n6. Orient the device to landscape.\r\n7. Tilt the device so that the page/picture again fills the viewfinder (in landscape).\r\n8. Snap a picture.\r\n9. Notice that the picture is a portrait.\r\n\r\n#### Expected behavior:\r\nI would expect to be able to take a landscape picture even if the item being viewed is laying horizontal.\r\n#### Actual behavior:\r\nAs described above, the picture comes out \"portrait\".\r\n#### Screenshots:\r\n\r\nNone yet, but I would be happy to send some.\r\n\r\n#### Interesting logs:\r\n\r\nI'm just starting to learn my way around the code, and am not sure yet where to focus. My initial guess is that the code may be grabbing the wrong orientation value when a picture is snapped.\r\n\r\n\r\n*You can use `CameraLogger.setLogLevel(LEVEL_VERBOSE)`\r\nto add logs to logcat, and `CameraLogger.registerLogger()`\r\nto handle logs yourself (e.g. export to file or a crash reporting service)\r\nso you can collect data from your users.*\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/natario1/CameraView/issues/comments/447650642","html_url":"https://github.com/natario1/CameraView/issues/323#issuecomment-447650642","issue_url":"https://api.github.com/repos/natario1/CameraView/issues/323","id":447650642,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzY1MDY0Mg==","user":{"login":"natario1","id":15526561,"node_id":"MDQ6VXNlcjE1NTI2NTYx","avatar_url":"https://avatars2.githubusercontent.com/u/15526561?v=4","gravatar_id":"","url":"https://api.github.com/users/natario1","html_url":"https://github.com/natario1","followers_url":"https://api.github.com/users/natario1/followers","following_url":"https://api.github.com/users/natario1/following{/other_user}","gists_url":"https://api.github.com/users/natario1/gists{/gist_id}","starred_url":"https://api.github.com/users/natario1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natario1/subscriptions","organizations_url":"https://api.github.com/users/natario1/orgs","repos_url":"https://api.github.com/users/natario1/repos","events_url":"https://api.github.com/users/natario1/events{/privacy}","received_events_url":"https://api.github.com/users/natario1/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T15:13:39Z","updated_at":"2018-12-16T15:13:39Z","author_association":"OWNER","body":"Orientation is not reliable when holding the device horizontally. I think that #290 fixed this as best as we can."}}
{"actor":{"display_login":"natario1"}}