-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several keybinding menus missing redraws when closed #8514
Comments
Filter filters parts by name Updated curses port to behave more like curses * Added redrawwin * Added handling of null pointer to wrefresh Moved lcmatch to game.cpp and game.h Function lcmatch was declared too many times in too many files. Since all of them included game.h already and including ui.h made little sense just for lcmatch, moved it to game.* Workaround for popup in tiles In several places in tiles build popup didn't appear for the following reason: Curses port writes to back renderer but the actual screen is not updated anywhere in cursesport.cpp. It's updated from renderer in try_update which is called from message handling routine. If screen was rewritten before message processed started again, then no matter how many calls to wrefresh were done, they were not actually printed to the screen. Only backscreen renderer changed. Update wrefresh to update actual renderer. Note that it's not placed inside of `if (win->draw)`. In e.g. when popup() calls refresh mainwin->draw is false. Refactored input_context to keep track of windows Now after input_context corrupts screen after HELP_KEYBINDING, it redraws windows that were assigned to it. As result, it fixes CleverRaven#8514, fixes CleverRaven#9835 in * Character menu (in-game) * Construction menu * Character creation menu * World creation menu * Vehicle interaction menu
Here is the list of affected menus:
Anything else, anyone? |
See this thread on the forum: http://smf.cataclysmdda.com/index.php?topic=12345.0
|
Thanks for note but it's not the same issue. Issue you described depends on used fonts (according to the last sentence in your quote) and the current issue is independent to any settings. |
#14270 notes that this is an issue both from the character screen @ and in the look screen V |
Tested on latest experimental as of September 27, 2019. Character creation menu redraws correctly (though I'm unsure which PR fixed it). Vehicle examine menu still has the issue. |
Version: 7994c6d, ncurses
Closing the input manager (special keybinding menu) in certain places fails to clean up the screen, leaving some blackness.
Here are the affected screens:
To reproduce, simply go to one of these menus, open the input manager with
?
and close it again and see what happens.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Edit by @Leland: updated list of screens and moved to checklist
The text was updated successfully, but these errors were encountered: