{"action":"opened","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/3186","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3186/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3186/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3186/events","html_url":"https://github.com/spyder-ide/spyder/issues/3186","id":156914114,"number":3186,"title":"\"New -> Module...\" menu not saving the new module file to the disk","user":{"login":"ShenggaoZhu","id":11516238,"avatar_url":"https://avatars.githubusercontent.com/u/11516238?v=3","gravatar_id":"","url":"https://api.github.com/users/ShenggaoZhu","html_url":"https://github.com/ShenggaoZhu","followers_url":"https://api.github.com/users/ShenggaoZhu/followers","following_url":"https://api.github.com/users/ShenggaoZhu/following{/other_user}","gists_url":"https://api.github.com/users/ShenggaoZhu/gists{/gist_id}","starred_url":"https://api.github.com/users/ShenggaoZhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShenggaoZhu/subscriptions","organizations_url":"https://api.github.com/users/ShenggaoZhu/orgs","repos_url":"https://api.github.com/users/ShenggaoZhu/repos","events_url":"https://api.github.com/users/ShenggaoZhu/events{/privacy}","received_events_url":"https://api.github.com/users/ShenggaoZhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T06:34:18Z","updated_at":"2016-05-26T06:34:18Z","closed_at":null,"body":"## Description\r\n\r\n**What steps will reproduce the problem?**\r\n\r\n1. In the Project explorer or File explorer, right click to pop up the context menu, and then select menu \"New -> Module...\". \r\n2. The \"New module\" dialog shows up for the user to input the module file name, say \"a.py\". After clicking the Save button on the dialog, the module file \"a.py\" is not saved to the disk. Also, in the Editor, a new tab is opened for the new module with the default name \"untitled0.py\", rather than \"a.py\".\r\n3. If you edit and try to save the new module, the \"Save file\" dialog pops up and requires to input the module name again.\r\n\r\n**What is the expected output? What do you see instead?**\r\n\r\nI would expect that the new module to be saved to the disk, and the Editor shows the new module with the correct name.\r\n\r\n**Please provide any additional information below**\r\n\r\nIt seems this problem exists for other versions of Spyder as well.\r\n\r\n## Version and main components\r\n\r\n* Spyder Version: 3.0.0dev \r\n* Python Version: 2.7.11\r\n* Qt Versions: 5.5.1, PyQt5 5.5.1 on Darwin\r\n\r\n## Dependencies\r\n```\r\npyflakes >=0.5.0:  1.0.0 (OK)\r\npep8 >=0.6      :  1.7.0 (OK)\r\npygments >=1.6  :  2.1 (OK)\r\nqtconsole >=4.0 :  4.1.1 (OK)\r\nnbconvert >=4.0 :  4.1.0 (OK)\r\npandas >=0.13.1 :  0.17.1 (OK)\r\nnumpy >=1.7     :  1.11.0 (OK)\r\nsphinx >=0.6.6  :  1.3.3 (OK)\r\nrope >=0.9.4    :  0.9.4-1 (OK)\r\njedi >=0.8.1    :  0.8.1 (OK)\r\npsutil >=0.3    :  3.4.2 (OK)\r\nmatplotlib >=1.0:  1.5.1 (OK)\r\nsympy >=0.7.3   :  0.7.6.1 (OK)\r\npylint >=0.25   :  1.5.2 (OK)\r\n\r\n```\r\n"}}
{"actor":{"display_login":"ShenggaoZhu"}}