{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Win2D/issues/294","repository_url":"https://api.github.com/repos/Microsoft/Win2D","labels_url":"https://api.github.com/repos/Microsoft/Win2D/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Win2D/issues/294/comments","events_url":"https://api.github.com/repos/Microsoft/Win2D/issues/294/events","html_url":"https://github.com/Microsoft/Win2D/pull/294","id":138530751,"number":294,"title":"Update print preview when switching printers","user":{"login":"mtaron","id":7683976,"avatar_url":"https://avatars.githubusercontent.com/u/7683976?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaron","html_url":"https://github.com/mtaron","followers_url":"https://api.github.com/users/mtaron/followers","following_url":"https://api.github.com/users/mtaron/following{/other_user}","gists_url":"https://api.github.com/users/mtaron/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaron/subscriptions","organizations_url":"https://api.github.com/users/mtaron/orgs","repos_url":"https://api.github.com/users/mtaron/repos","events_url":"https://api.github.com/users/mtaron/events{/privacy}","received_events_url":"https://api.github.com/users/mtaron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-04T17:19:11Z","updated_at":"2016-03-04T18:39:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/Win2D/pulls/294","html_url":"https://github.com/Microsoft/Win2D/pull/294","diff_url":"https://github.com/Microsoft/Win2D/pull/294.diff","patch_url":"https://github.com/Microsoft/Win2D/pull/294.patch"},"body":"If you switch printers the print preview doesn't update until you change\r\nanother property like Orientation. This is noticeable when switch from\r\nsomething like print to PDF which has no margins to a physical printer\r\nthat does. (bug #292)\r\n\r\nFix is to listen to OptionChanged and invalidate the preview when an\r\nevent with a null OptionId is raised."},"comment":{"url":"https://api.github.com/repos/Microsoft/Win2D/issues/comments/192401199","html_url":"https://github.com/Microsoft/Win2D/pull/294#issuecomment-192401199","issue_url":"https://api.github.com/repos/Microsoft/Win2D/issues/294","id":192401199,"user":{"login":"mtaron","id":7683976,"avatar_url":"https://avatars.githubusercontent.com/u/7683976?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaron","html_url":"https://github.com/mtaron","followers_url":"https://api.github.com/users/mtaron/followers","following_url":"https://api.github.com/users/mtaron/following{/other_user}","gists_url":"https://api.github.com/users/mtaron/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaron/subscriptions","organizations_url":"https://api.github.com/users/mtaron/orgs","repos_url":"https://api.github.com/users/mtaron/repos","events_url":"https://api.github.com/users/mtaron/events{/privacy}","received_events_url":"https://api.github.com/users/mtaron/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T18:39:18Z","updated_at":"2016-03-04T18:39:18Z","body":"Thanks! I don't have write access so one of you guys will need to merge the pull request."}}