Hi,
Test case:
1. Run the game
2. Press "Start new game", see some dialogue
3. Notice "test" button in upper-left corner of the game in overlay
4. Press Alt+F4 or Close (x) button on the game window
5. Select "No" to return to game
6. Check if overlay still works
Expected result:
"test" button is still here
Actual result:
"test" button is gone
Workaround if prompts are never used in the game:
1. Edit renpy/common/00layout.rpy
2. Put "renpy.store.suppress_overlay = False" line before "return rv" in invoke_yesno_prompt() function
suppress_overlay is True on return to game after Alt+F4
-
- Veteran
- Posts: 206
- Joined: Tue Dec 30, 2008 9:18 am
- Projects: iichan erogame
- Contact:
suppress_overlay is True on return to game after Alt+F4
- Attachments
-
- overlay_bug.zip
- minimal case demo
- (3.68 KiB) Downloaded 38 times
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: suppress_overlay is True on return to game after Alt+F4
This was fixed in https://github.com/renpy/renpy/commit/4 ... 83964f2051 , which added context.pop_all_dynamic() to invoke_in_new_context.
Thanks for a great report.
Thanks for a great report.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Veteran
- Posts: 206
- Joined: Tue Dec 30, 2008 9:18 am
- Projects: iichan erogame
- Contact:
Re: suppress_overlay is True on return to game after Alt+F4
Thanks for the fix!
By the way, what are the plans for 6.99.12? Is it scheduled somewhere in Q42016?
By the way, what are the plans for 6.99.12? Is it scheduled somewhere in Q42016?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: suppress_overlay is True on return to game after Alt+F4
Yes. Since the goal is to improve support for Sierra, I'd like to get it out ASAP.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users