{"action":"opened","issue":{"url":"https://api.github.com/repos/silx-kit/silx/issues/1229","repository_url":"https://api.github.com/repos/silx-kit/silx","labels_url":"https://api.github.com/repos/silx-kit/silx/issues/1229/labels{/name}","comments_url":"https://api.github.com/repos/silx-kit/silx/issues/1229/comments","events_url":"https://api.github.com/repos/silx-kit/silx/issues/1229/events","html_url":"https://github.com/silx-kit/silx/issues/1229","id":262063548,"number":1229,"title":"[print preview] Setting a too big size preference fail the preview","user":{"login":"vallsv","id":7579321,"avatar_url":"https://avatars0.githubusercontent.com/u/7579321?v=4","gravatar_id":"","url":"https://api.github.com/users/vallsv","html_url":"https://github.com/vallsv","followers_url":"https://api.github.com/users/vallsv/followers","following_url":"https://api.github.com/users/vallsv/following{/other_user}","gists_url":"https://api.github.com/users/vallsv/gists{/gist_id}","starred_url":"https://api.github.com/users/vallsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallsv/subscriptions","organizations_url":"https://api.github.com/users/vallsv/orgs","repos_url":"https://api.github.com/users/vallsv/repos","events_url":"https://api.github.com/users/vallsv/events{/privacy}","received_events_url":"https://api.github.com/users/vallsv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-02T12:06:44Z","updated_at":"2017-10-02T12:06:44Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"- Create a print preview using `X-offset = 100000` or `width = 100000`\r\n- Open the print preview\r\n- It is not anymore possible to open it\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/workspace/valls/silx.git/build/lib.linux-x86_64-2.7/silx/gui/plot/PrintPreviewToolButton.py\", line 181, in _plotToPrintPreview\r\n    svgRenderer, viewBox = self._getSvgRendererAndViewbox()\r\n  File \"/workspace/valls/silx.git/build/lib.linux-x86_64-2.7/silx/gui/plot/PrintPreviewToolButton.py\", line 211, in _getSvgRendererAndViewbox\r\n    viewbox = self._getViewBox()\r\n  File \"/workspace/valls/silx.git/build/lib.linux-x86_64-2.7/silx/gui/plot/PrintPreviewToolButton.py\", line 276, in _getViewBox\r\n    raise ValueError(txt)\r\nValueError: Available width  -79299207.000000 is less than requested width 713.700000\r\n```"}}
{"actor":{"display_login":"vallsv"}}