{"action":"opened","issue":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/326","labels_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/326/comments","events_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/326/events","html_url":"https://github.com/marekr/kicad-issue-test/issues/326","id":120700893,"number":326,"title":"Relative paths are computed incorrectly","user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/New","name":"New","color":"ddffdd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Undecided","name":"Undecided","color":"ffdddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-07T05:15:51Z","updated_at":"2015-12-07T05:15:51Z","closed_at":null,"body":"In EESchema (and maybe PCBNew as well; I haven't tested), when adding a new user library search path to the project, if the directory I add is the parent of the project directory, the wrong directory is added. Specifically, my project file is at \"/home/chead/ubc/tbr/thunderbots/wc/trunk/electronics/logic\", I add \"/home/chead/ubc/tbr/thunderbots/wc/trunk/electronics\", and rather than the path appearing after addition as \"..\", it appears as \"../../electronics\". This means that if someone checks out only the \"electronics\" directory of my Subversion repository, and calls the working copy something other than \"electronics\", the relative path won't work right even though this ought to be possible.\n\nThis is with version 2010-03-13 final. I'm running Gentoo (which appears to add only very minimal changes to the upstream source) 32-bit with GCC 4.4.3."}}