You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution: change the visibility of main file manager widgets (menu bar, hint bar, command line, and key bar) only if these states are really changed by use via "Layout" configuration dialog.
These changes fix the original bug, but introduce two new ones:
Cancelling the Layout dialog leaves the keybar, command prompt, or hintbar in the cancelled state
When the keybar is hidden, the menubar disappears permanently after F9 -> Esc
I have added 2 patches for both. In the second patch, the widget remembers its visibility state before activation instead of using mc_global.menubar_visible, because WMenuBar is also used by mcedit, whose menubar is always shown and ignores the filemanager option. Reading a global there would trade one wrong flag for another.
Feel free to squash accordingly. Let me know if it helps (and if it doesn't). With the two bugs fixed in one way or another, I think this is good to merge.
Activity
github-actions commentedon Oct 11, 2026
The changes in the branch associated with this issue are ready for review.
zyv commentedon Oct 16, 2026
These changes fix the original bug, but introduce two new ones:
I have added 2 patches for both. In the second patch, the widget remembers its visibility state before activation instead of using
mc_global.menubar_visible, becauseWMenuBaris also used bymcedit, whose menubar is always shown and ignores the filemanager option. Reading a global there would trade one wrong flag for another.Feel free to squash accordingly. Let me know if it helps (and if it doesn't). With the two bugs fixed in one way or another, I think this is good to merge.
github-actions commentedon Oct 16, 2026
The changes in the branch associated with this issue have been approved.
Ticket #5184: fix menubar redraw on screen size change.
mc-worker commentedon Oct 17, 2026
Indeed. :(
I did that.
Yes it helps. I'm ready to merge this branch.
zyv commentedon Oct 17, 2026
Well, then go ahead :) Thank you!
Ticket #5184: fix menubar redraw on screen size change.
Merge branch '5184_menu_redraw_on_screen_resize'