{"action":"opened","issue":{"url":"https://api.github.com/repos/ArduPilot/MissionPlanner/issues/1682","repository_url":"https://api.github.com/repos/ArduPilot/MissionPlanner","labels_url":"https://api.github.com/repos/ArduPilot/MissionPlanner/issues/1682/labels{/name}","comments_url":"https://api.github.com/repos/ArduPilot/MissionPlanner/issues/1682/comments","events_url":"https://api.github.com/repos/ArduPilot/MissionPlanner/issues/1682/events","html_url":"https://github.com/ArduPilot/MissionPlanner/issues/1682","id":272783457,"number":1682,"title":"Menu Bar disappears when disabling autohide when autohide is enabled in config file","user":{"login":"JWangAeronavics","id":32720330,"avatar_url":"https://avatars1.githubusercontent.com/u/32720330?v=4","gravatar_id":"","url":"https://api.github.com/users/JWangAeronavics","html_url":"https://github.com/JWangAeronavics","followers_url":"https://api.github.com/users/JWangAeronavics/followers","following_url":"https://api.github.com/users/JWangAeronavics/following{/other_user}","gists_url":"https://api.github.com/users/JWangAeronavics/gists{/gist_id}","starred_url":"https://api.github.com/users/JWangAeronavics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JWangAeronavics/subscriptions","organizations_url":"https://api.github.com/users/JWangAeronavics/orgs","repos_url":"https://api.github.com/users/JWangAeronavics/repos","events_url":"https://api.github.com/users/JWangAeronavics/events{/privacy}","received_events_url":"https://api.github.com/users/JWangAeronavics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-10T00:47:31Z","updated_at":"2017-11-10T00:47:31Z","closed_at":null,"author_association":"NONE","body":"#### Issue details\r\nWhen mission planner is started up with the menu bar autohide feature enabled in the saved config file, disabling autohide causes the menu bar to disappear as soon as the mouse cursor is moved away from the menu bar until mission planner is restarted.\r\n\r\nThis is being caused by a double registration of the MainMenu_MouseLeave() event handler on startup, once when MainV2 is initialised, and a second time when AutoHideMenu() is called whilst loading from the config file.\r\n\r\n#### Version\r\n1.3.50\r\n\r\n#### Platform\r\n[x] All\r\n[  ] AntennaTracker\r\n[  ] Copter\r\n[  ] Plane\r\n[  ] Rover\r\n[  ] Sub\r\n\r\n![image](https://user-images.githubusercontent.com/32720330/32637139-fc1d0a38-c61c-11e7-9335-f9ff64de0b90.png)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"JWangAeronavics"}}