{"action":"created","issue":{"url":"https://api.github.com/repos/muse-sequencer/muse/issues/396","labels_url":"https://api.github.com/repos/muse-sequencer/muse/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/muse-sequencer/muse/issues/396/comments","events_url":"https://api.github.com/repos/muse-sequencer/muse/issues/396/events","html_url":"https://github.com/muse-sequencer/muse/issues/396","id":117842292,"number":396,"title":"import / replace MIDI file oddities","user":{"login":"danboid","id":1429783,"avatar_url":"https://avatars.githubusercontent.com/u/1429783?v=3","gravatar_id":"","url":"https://api.github.com/users/danboid","html_url":"https://github.com/danboid","followers_url":"https://api.github.com/users/danboid/followers","following_url":"https://api.github.com/users/danboid/following{/other_user}","gists_url":"https://api.github.com/users/danboid/gists{/gist_id}","starred_url":"https://api.github.com/users/danboid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danboid/subscriptions","organizations_url":"https://api.github.com/users/danboid/orgs","repos_url":"https://api.github.com/users/danboid/repos","events_url":"https://api.github.com/users/danboid/events{/privacy}","received_events_url":"https://api.github.com/users/danboid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-19T15:48:26Z","updated_at":"2015-12-08T13:06:03Z","closed_at":null,"body":"If I start a brand new session in muse and then the very first thing I do is import a MIDI file even before creating  a single track, why does muse give me the option of 'Replace' when it asks me \"Add midi file to current project\" when there is nothing to replace? I think it means do I want to replace the song/session?\r\n\r\nIf I do choose replace at this point, it messes up the arranger by opening it in a new arranger muse sub-window. This new arranger sub-window overlaps the previous session window yet there only seems to be one set of window controls so the user has to resize muse to utilise the full window and get rid of the clutter caused by the previous session."},"comment":{"url":"https://api.github.com/repos/muse-sequencer/muse/issues/comments/162874591","html_url":"https://github.com/muse-sequencer/muse/issues/396#issuecomment-162874591","issue_url":"https://api.github.com/repos/muse-sequencer/muse/issues/396","id":162874591,"user":{"login":"asbaklm","id":8843057,"avatar_url":"https://avatars.githubusercontent.com/u/8843057?v=3","gravatar_id":"","url":"https://api.github.com/users/asbaklm","html_url":"https://github.com/asbaklm","followers_url":"https://api.github.com/users/asbaklm/followers","following_url":"https://api.github.com/users/asbaklm/following{/other_user}","gists_url":"https://api.github.com/users/asbaklm/gists{/gist_id}","starred_url":"https://api.github.com/users/asbaklm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asbaklm/subscriptions","organizations_url":"https://api.github.com/users/asbaklm/orgs","repos_url":"https://api.github.com/users/asbaklm/repos","events_url":"https://api.github.com/users/asbaklm/events{/privacy}","received_events_url":"https://api.github.com/users/asbaklm/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T13:06:03Z","updated_at":"2015-12-08T13:06:03Z","body":"Here's what I get, I think it is similar to what you're experiencing:\r\n\r\nThe Muse window seems to resize on my system if I select 'replace' when importing a MIDI file and the original Muse window was NOT maximised.\r\n\r\nIf the original Muse window was maximised, when importing a MIDI file and choosing 'replace', it redraws the window into a resized smaller sized window in the top lefthand corner of the monitor which is superimposed on the previous maximised Muse window. To fix this, the Muse window needs to be redrawn for example by manually maximising it again.\r\n\r\nSo there's definitely some kind of a redrawing bug.\r\n\r\nHow it should work:\r\nWhen selecting MIDI Import, Replace and screen is Maximised, it should redraw the Maximised Window with the updated data. It should not overlay a smaller newly created Muse Window over the original Maximised window, thus producing garbled output which must be corrected manually.\r\n\r\nWhen selecing MIDI Import, Replace and the screen is NOT Maximised but drawn to a specific size, it should redraw the screen with updated data without resizing the window to whatever default it currently appears to be set to. In other words, it shouldn't replace the non-minimised Window with a new Window, sized according to some presumably default value it currently uses.\r\n\r\nDoes that match what you're experiencing?"}}