{"action":"created","issue":{"url":"https://api.github.com/repos/renpy/renpy/issues/284","labels_url":"https://api.github.com/repos/renpy/renpy/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/renpy/renpy/issues/284/comments","events_url":"https://api.github.com/repos/renpy/renpy/issues/284/events","html_url":"https://github.com/renpy/renpy/issues/284","id":26750891,"number":284,"title":"Inconsistency with Yes/No Prompt","user":{"login":"Keinart","id":6564457,"avatar_url":"https://avatars.githubusercontent.com/u/6564457?v=3","gravatar_id":"","url":"https://api.github.com/users/Keinart","html_url":"https://github.com/Keinart","followers_url":"https://api.github.com/users/Keinart/followers","following_url":"https://api.github.com/users/Keinart/following{/other_user}","gists_url":"https://api.github.com/users/Keinart/gists{/gist_id}","starred_url":"https://api.github.com/users/Keinart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keinart/subscriptions","organizations_url":"https://api.github.com/users/Keinart/orgs","repos_url":"https://api.github.com/users/Keinart/repos","events_url":"https://api.github.com/users/Keinart/events{/privacy}","received_events_url":"https://api.github.com/users/Keinart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-02-02T00:26:17Z","updated_at":"2015-02-07T00:25:38Z","closed_at":"2015-02-07T00:25:38Z","body":"When using a transparent png image for the Yes/No Prompt background, it will overlap the previous background when the prompt appears except when pressing the X button of the window to exit the game in a menu (it happens in all menus screens, but not when the game is running), creating an inconsistency.\r\n\r\nNotes:\r\nThe user Crazy Li reported this issue didn't happen with Renpy 6.13, but will happen from the following version onward.\r\n\r\nImages attached:\r\n![bug yesno prompt 1](https://f.cloud.github.com/assets/6564457/2059221/e90b13d4-8b9e-11e3-8b22-82e344069456.png)\r\n![bug yesno prompt 2](https://f.cloud.github.com/assets/6564457/2059227/0a050a40-8b9f-11e3-96b4-112cb4e998a8.png)\r\n![bug yesno prompt 3](https://f.cloud.github.com/assets/6564457/2059228/0d3d7e22-8b9f-11e3-9ddf-a4dde23591e7.png)\r\n\r\nA demo of a game for windows to reproduce the issue can be downloaded here: http://www.mediafire.com/download/djgf3puaymftvvi/Bug%20transparent.zip\r\n\r\nSteps to reproduce:\r\n1. In the main menu, press the \"Quit\" button to see how the gray.png image overlaps with the background when the yes/no prompt appears.\r\n2. In the main menu again, press the \"X\" in the corner of the window to exit the game. Notice how when the yes/no prompt appears the menu background is removed.\r\n3. Press \"Start Game\", and then press the \"X\" in the corner of the window to exit the game. Notice how the gray.png image overlaps correctly if the game have started."},"comment":{"url":"https://api.github.com/repos/renpy/renpy/issues/comments/73338478","html_url":"https://github.com/renpy/renpy/issues/284#issuecomment-73338478","issue_url":"https://api.github.com/repos/renpy/renpy/issues/284","id":73338478,"user":{"login":"renpytom","id":379804,"avatar_url":"https://avatars.githubusercontent.com/u/379804?v=3","gravatar_id":"","url":"https://api.github.com/users/renpytom","html_url":"https://github.com/renpytom","followers_url":"https://api.github.com/users/renpytom/followers","following_url":"https://api.github.com/users/renpytom/following{/other_user}","gists_url":"https://api.github.com/users/renpytom/gists{/gist_id}","starred_url":"https://api.github.com/users/renpytom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renpytom/subscriptions","organizations_url":"https://api.github.com/users/renpytom/orgs","repos_url":"https://api.github.com/users/renpytom/repos","events_url":"https://api.github.com/users/renpytom/events{/privacy}","received_events_url":"https://api.github.com/users/renpytom/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T00:25:38Z","updated_at":"2015-02-07T00:25:38Z","body":"This is expected behavior that i don't want to change, as we want to support showing the background to the user. When at the main menu, use a different backround, using code like:\r\n\r\n```\r\nif main_menu:\r\n     add \"main_menu.jpg\"\r\nelse:\r\n     add \"#0008\"\r\n```\r\n\r\nSomething like that."}}