{"action":"created","issue":{"url":"https://api.github.com/repos/IgnorantGuru/spacefm/issues/485","labels_url":"https://api.github.com/repos/IgnorantGuru/spacefm/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/IgnorantGuru/spacefm/issues/485/comments","events_url":"https://api.github.com/repos/IgnorantGuru/spacefm/issues/485/events","html_url":"https://github.com/IgnorantGuru/spacefm/issues/485","id":62126291,"number":485,"title":"[GTK3] Crash when selecting and unselecting items","user":{"login":"mm-d","id":2022296,"avatar_url":"https://avatars.githubusercontent.com/u/2022296?v=3","gravatar_id":"","url":"https://api.github.com/users/mm-d","html_url":"https://github.com/mm-d","followers_url":"https://api.github.com/users/mm-d/followers","following_url":"https://api.github.com/users/mm-d/following{/other_user}","gists_url":"https://api.github.com/users/mm-d/gists{/gist_id}","starred_url":"https://api.github.com/users/mm-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mm-d/subscriptions","organizations_url":"https://api.github.com/users/mm-d/orgs","repos_url":"https://api.github.com/users/mm-d/repos","events_url":"https://api.github.com/users/mm-d/events{/privacy}","received_events_url":"https://api.github.com/users/mm-d/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IgnorantGuru/spacefm/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/IgnorantGuru/spacefm/milestones/5","html_url":"https://github.com/IgnorantGuru/spacefm/milestones/near","labels_url":"https://api.github.com/repos/IgnorantGuru/spacefm/milestones/5/labels","id":458237,"number":5,"title":"near","description":"Due for implementation or further review in the near future.","creator":{"login":"IgnorantGuru","id":653952,"avatar_url":"https://avatars.githubusercontent.com/u/653952?v=3","gravatar_id":"","url":"https://api.github.com/users/IgnorantGuru","html_url":"https://github.com/IgnorantGuru","followers_url":"https://api.github.com/users/IgnorantGuru/followers","following_url":"https://api.github.com/users/IgnorantGuru/following{/other_user}","gists_url":"https://api.github.com/users/IgnorantGuru/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnorantGuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnorantGuru/subscriptions","organizations_url":"https://api.github.com/users/IgnorantGuru/orgs","repos_url":"https://api.github.com/users/IgnorantGuru/repos","events_url":"https://api.github.com/users/IgnorantGuru/events{/privacy}","received_events_url":"https://api.github.com/users/IgnorantGuru/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2013-10-18T05:05:08Z","updated_at":"2015-06-02T13:15:39Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-03-16T16:01:55Z","updated_at":"2015-07-18T15:41:19Z","closed_at":null,"body":"System: spacefm 0.9.4 on Gentoo\r\nIf a window has only few items and I select items by dragging with my mouse (starting from empty area) and unselecting them, spacefm crashes when I would have unselected all items. When launching from terminal I got:\r\n\r\n**\r\nGtk:ERROR:/tmp/portage/x11-libs/gtk+-3.14.9/work/gtk+-3.14.9/gtk/gtkrbtree.c:914:_gtk_rbtree_node_find_offset: assertion failed: (node)\r\nzsh: abort      spacefm"},"comment":{"url":"https://api.github.com/repos/IgnorantGuru/spacefm/issues/comments/122557512","html_url":"https://github.com/IgnorantGuru/spacefm/issues/485#issuecomment-122557512","issue_url":"https://api.github.com/repos/IgnorantGuru/spacefm/issues/485","id":122557512,"user":{"login":"OmegaPhil","id":395928,"avatar_url":"https://avatars.githubusercontent.com/u/395928?v=3","gravatar_id":"","url":"https://api.github.com/users/OmegaPhil","html_url":"https://github.com/OmegaPhil","followers_url":"https://api.github.com/users/OmegaPhil/followers","following_url":"https://api.github.com/users/OmegaPhil/following{/other_user}","gists_url":"https://api.github.com/users/OmegaPhil/gists{/gist_id}","starred_url":"https://api.github.com/users/OmegaPhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmegaPhil/subscriptions","organizations_url":"https://api.github.com/users/OmegaPhil/orgs","repos_url":"https://api.github.com/users/OmegaPhil/repos","events_url":"https://api.github.com/users/OmegaPhil/events{/privacy}","received_events_url":"https://api.github.com/users/OmegaPhil/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T15:41:19Z","updated_at":"2015-07-18T15:41:19Z","body":"Right, finally got some time with this - basically in GTK2 you have to have a selected item in order to start a rubberband select - in GTK3 you don't, so in 2 you can't drop the selected item as part of fiddling with the rubberband area, but in 3 you can start it below any item, move to select the item, then move down to unselect - and suddenly GTK3 chokes on the new possibility.\r\n\r\nI don't yet know anything about how the rubberband code works, but I think the solution would be to prevent a rubberband select starting without an item selected, @IgnorantGuru, should I go ahead with this? There are other assertation failures just dragging around the empty space that also need addressing."}}