Closed Jailfindery closed 11 years ago
As of commit 57e2d23, menu window borders no longer disappear when a window on top is unmapped. However, windows two layers deep still disappear entirely. The fix resulted from refreshing all menu window elements before prompting for user input.
It was determined that, due to the way ncurses
handles refreshing and menus, stacking menus in dnc
will not work correctly.
When a window is unmapped, menu windows below do not get updated properly. The end result is that only the menu directly under the unmapped window is only partially rendered. This part appears to be the subwindow member.
This bug only appears to affect this specific application, making it seem to be a problem with the
debug_menu
class and notdnc
.It should be noted that, if a menu entry is selected which does not map or unmap another window, menus become fully rendered again.