{"action":"created","issue":{"url":"https://api.github.com/repos/zoofIO/flexx/issues/212","repository_url":"https://api.github.com/repos/zoofIO/flexx","labels_url":"https://api.github.com/repos/zoofIO/flexx/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/zoofIO/flexx/issues/212/comments","events_url":"https://api.github.com/repos/zoofIO/flexx/issues/212/events","html_url":"https://github.com/zoofIO/flexx/issues/212","id":176907982,"number":212,"title":"ui.Slider: intial value sometimes (randomly) not honored ","user":{"login":"eudoxos","id":1029876,"avatar_url":"https://avatars.githubusercontent.com/u/1029876?v=3","gravatar_id":"","url":"https://api.github.com/users/eudoxos","html_url":"https://github.com/eudoxos","followers_url":"https://api.github.com/users/eudoxos/followers","following_url":"https://api.github.com/users/eudoxos/following{/other_user}","gists_url":"https://api.github.com/users/eudoxos/gists{/gist_id}","starred_url":"https://api.github.com/users/eudoxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eudoxos/subscriptions","organizations_url":"https://api.github.com/users/eudoxos/orgs","repos_url":"https://api.github.com/users/eudoxos/repos","events_url":"https://api.github.com/users/eudoxos/events{/privacy}","received_events_url":"https://api.github.com/users/eudoxos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-14T13:30:46Z","updated_at":"2016-09-14T17:03:42Z","closed_at":null,"body":"With the following MWE and flexx from git:\r\n\r\n```\r\nfrom flexx import app, ui\r\nclass Sliderbug(ui.Widget):\r\n    def init(self):\r\n        ui.Slider(min=3,max=10,value=6,step=1.)\r\nif __name__=='__main__':\r\n    app.launch(Sliderbug)\r\n    app.run()\r\n\r\n```\r\nI sometimes get the initial value wrong, about 50%-50%, running exactly the same code. I can also verify that in the first (buggy) case the slider gives \"1\" as its value (rather than 3, which is the minimum):\r\n\r\n![slider-bug](https://cloud.githubusercontent.com/assets/1029876/18514001/06a3771e-7a90-11e6-8531-67dd2413cd59.png)\r\n\r\n![slider-ok](https://cloud.githubusercontent.com/assets/1029876/18514007/0e0e735a-7a90-11e6-8e58-eb080c3e3b7f.png)\r\n"},"comment":{"url":"https://api.github.com/repos/zoofIO/flexx/issues/comments/247083142","html_url":"https://github.com/zoofIO/flexx/issues/212#issuecomment-247083142","issue_url":"https://api.github.com/repos/zoofIO/flexx/issues/212","id":247083142,"user":{"login":"Korijn","id":1882046,"avatar_url":"https://avatars.githubusercontent.com/u/1882046?v=3","gravatar_id":"","url":"https://api.github.com/users/Korijn","html_url":"https://github.com/Korijn","followers_url":"https://api.github.com/users/Korijn/followers","following_url":"https://api.github.com/users/Korijn/following{/other_user}","gists_url":"https://api.github.com/users/Korijn/gists{/gist_id}","starred_url":"https://api.github.com/users/Korijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korijn/subscriptions","organizations_url":"https://api.github.com/users/Korijn/orgs","repos_url":"https://api.github.com/users/Korijn/repos","events_url":"https://api.github.com/users/Korijn/events{/privacy}","received_events_url":"https://api.github.com/users/Korijn/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T17:03:42Z","updated_at":"2016-09-14T17:03:42Z","body":"I think you can label event connectors to enforce order, but I'm not sure about properties..."}}
{"actor":{"display_login":"Korijn"}}