{"action":"created","issue":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/348","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/348/comments","events_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/348/events","html_url":"https://github.com/ElektraInitiative/libelektra/issues/348","id":115723112,"number":348,"title":"qt-gui: populateModel slow","user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"0003088","id":2543279,"avatar_url":"https://avatars.githubusercontent.com/u/2543279?v=3","gravatar_id":"","url":"https://api.github.com/users/0003088","html_url":"https://github.com/0003088","followers_url":"https://api.github.com/users/0003088/followers","following_url":"https://api.github.com/users/0003088/following{/other_user}","gists_url":"https://api.github.com/users/0003088/gists{/gist_id}","starred_url":"https://api.github.com/users/0003088/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0003088/subscriptions","organizations_url":"https://api.github.com/users/0003088/orgs","repos_url":"https://api.github.com/users/0003088/repos","events_url":"https://api.github.com/users/0003088/events{/privacy}","received_events_url":"https://api.github.com/users/0003088/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-08T10:30:54Z","updated_at":"2015-11-08T19:25:20Z","closed_at":null,"body":"createNewNodes does not update existing keys properly Steps to reproduce:\r\n```\r\nkdb set user/guitest/oldkey oldvalue\r\nkdb qt-gui\r\nkdb set user/guitest/oldkey newvalue\r\nkdb set user/guitest/newkey newvalue\r\n```\r\n\r\nAfter pressing refresh, I see `user/guitest/oldkey oldvalue` even though the keyset internally already had `newvalue`, but `createNewNodes` seems to not update the key.\r\n\r\nSolution: make `populateModel` faster and use it"},"comment":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/comments/154859540","html_url":"https://github.com/ElektraInitiative/libelektra/issues/348#issuecomment-154859540","issue_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/348","id":154859540,"user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T19:25:20Z","updated_at":"2015-11-08T19:25:20Z","body":"Yes, the parameter of `createNewNodes()` had the latest configuration, but it was not propagated to the tree view.\r\n\r\nI think there are more scenarios then the one with changed value, especially scenarios with changed meta data. If you can fix all of them, we can use `createNewNodes` again. Do you want to do that?"}}