{"action":"created","issue":{"url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/issues/495","labels_url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/issues/495/comments","events_url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/issues/495/events","html_url":"https://github.com/Geoportail-Luxembourg/geoportailv3/pull/495","id":78930737,"number":495,"title":"Change scale to optimal when changing print layout","user":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/labels/Outils/Impression","name":"Outils/Impression","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T10:24:00Z","updated_at":"2015-05-21T10:33:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/pulls/495","html_url":"https://github.com/Geoportail-Luxembourg/geoportailv3/pull/495","diff_url":"https://github.com/Geoportail-Luxembourg/geoportailv3/pull/495.diff","patch_url":"https://github.com/Geoportail-Luxembourg/geoportailv3/pull/495.patch"},"body":"As discussed with @pgiraud this PR changes the print scale to the optimal scale when the user changes the print layout. This prevents the bad experience that occurs when selecting A0 and not seeing the print mask because it's outside the current viewport."},"comment":{"url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/issues/comments/104220627","html_url":"https://github.com/Geoportail-Luxembourg/geoportailv3/pull/495#issuecomment-104220627","issue_url":"https://api.github.com/repos/Geoportail-Luxembourg/geoportailv3/issues/495","id":104220627,"user":{"login":"pgiraud","id":319774,"avatar_url":"https://avatars.githubusercontent.com/u/319774?v=3","gravatar_id":"","url":"https://api.github.com/users/pgiraud","html_url":"https://github.com/pgiraud","followers_url":"https://api.github.com/users/pgiraud/followers","following_url":"https://api.github.com/users/pgiraud/following{/other_user}","gists_url":"https://api.github.com/users/pgiraud/gists{/gist_id}","starred_url":"https://api.github.com/users/pgiraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgiraud/subscriptions","organizations_url":"https://api.github.com/users/pgiraud/orgs","repos_url":"https://api.github.com/users/pgiraud/repos","events_url":"https://api.github.com/users/pgiraud/events{/privacy}","received_events_url":"https://api.github.com/users/pgiraud/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T10:33:26Z","updated_at":"2015-05-21T10:33:26Z","body":"+1\r\nPlease merge."}}