{"action":"opened","issue":{"url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/839","repository_url":"https://api.github.com/repos/LibreCAD/LibreCAD","labels_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/839/comments","events_url":"https://api.github.com/repos/LibreCAD/LibreCAD/issues/839/events","html_url":"https://github.com/LibreCAD/LibreCAD/issues/839","id":188049434,"number":839,"title":"Some polylines become invisible when zooming","user":{"login":"jborme","id":6179460,"avatar_url":"https://avatars.githubusercontent.com/u/6179460?v=3","gravatar_id":"","url":"https://api.github.com/users/jborme","html_url":"https://github.com/jborme","followers_url":"https://api.github.com/users/jborme/followers","following_url":"https://api.github.com/users/jborme/following{/other_user}","gists_url":"https://api.github.com/users/jborme/gists{/gist_id}","starred_url":"https://api.github.com/users/jborme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jborme/subscriptions","organizations_url":"https://api.github.com/users/jborme/orgs","repos_url":"https://api.github.com/users/jborme/repos","events_url":"https://api.github.com/users/jborme/events{/privacy}","received_events_url":"https://api.github.com/users/jborme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T17:09:23Z","updated_at":"2016-11-08T17:09:23Z","closed_at":null,"body":"When opening files saved with librecad 2.0.x within librecad 2.1.x, the elements (polylines...) included in layers which were not visible at the time of saving, will not be rendered on the screen when zooming in. It seems that toggling all layers to visible, then saving the file, will solve the problem.\r\n\r\nObservation of the diff between the initial (buggy) file and the new one provides ideas on which flags changed:\r\n[diff.txt](https://github.com/LibreCAD/LibreCAD/files/578817/diff.txt)\r\n\r\nHow to reproduce the problem:\r\n1. Open the included DXF file\r\n2. Set all layers to visible\r\n3. Zoom in the pattern, observe that at some point most features disappear from the display (and come back when zooming out).\r\n\r\n[20160831_unit_cell.zip](https://github.com/LibreCAD/LibreCAD/files/578826/20160831_unit_cell.zip)\r\n\r\nAll files saved in DXF R12 format.\r\nProblem seen on gentoo linux with librecad 2.1.1 (gcc 4.9.3) and librecad 2.1.3 (gcc 5.4.0); also seen with the Windows binary distribution"}}
{"actor":{"display_login":"jborme"}}