{"action":"opened","issue":{"url":"https://api.github.com/repos/mono/xwt/issues/496","labels_url":"https://api.github.com/repos/mono/xwt/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/mono/xwt/issues/496/comments","events_url":"https://api.github.com/repos/mono/xwt/issues/496/events","html_url":"https://github.com/mono/xwt/issues/496","id":58927854,"number":496,"title":"TreeView SelectionChange event triggers far too often","user":{"login":"steffenWi","id":5486831,"avatar_url":"https://avatars.githubusercontent.com/u/5486831?v=3","gravatar_id":"","url":"https://api.github.com/users/steffenWi","html_url":"https://github.com/steffenWi","followers_url":"https://api.github.com/users/steffenWi/followers","following_url":"https://api.github.com/users/steffenWi/following{/other_user}","gists_url":"https://api.github.com/users/steffenWi/gists{/gist_id}","starred_url":"https://api.github.com/users/steffenWi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffenWi/subscriptions","organizations_url":"https://api.github.com/users/steffenWi/orgs","repos_url":"https://api.github.com/users/steffenWi/repos","events_url":"https://api.github.com/users/steffenWi/events{/privacy}","received_events_url":"https://api.github.com/users/steffenWi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T16:29:18Z","updated_at":"2015-02-25T16:29:18Z","closed_at":null,"body":"To test this, add \r\n```csharp\r\nview.SelectionChanged += delegate(object sender, EventArgs e) { Xwt.MessageDialog.ShowMessage(\"I was triggered!\"); };\r\n```\r\nto Samples.TreeViews.cs on line 135 (constructor).\r\n\r\nStart the sample application, select the TreeView sample and  (after confirming the first 3 pop-ups) click on any item.\r\n\r\nExpected behavior: The messagebox should only pop up if a different line is selected and it should only pop up once per click.\r\n\r\nReal behavior: The messagebox pops up multiple times on one click, regardless if a different item was selected or not. "}}