Skip to content

Make NetBox-like dialog for VFS messages instead of overwriting TUI elements #4721

@zyv

Description

@zyv

Is there an existing issue for this?

  • I have searched the existing issues

Midnight Commander version and build configuration

Desktop % mc -V
GNU Midnight Commander 4.8.33
Built with GLib 2.82.4
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.1
With builtin editor
With subshell support as default
With support for background operations
With mouse support on xterm
With internationalisation support
With multiple codepages support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, shell
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; uintmax_t: 64;

Operating system

Desktop % uname -a
Darwin Mac 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:29 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6030 arm64

Is this issue reproducible using the latest version of Midnight Commander?

  • I confirm the issue is still reproducible with the latest version of Midnight Commander

How to reproduce

Connect using the "Left -> Shell link..." menu and observe the messages.

Expected behavior

If I remember correctly, the messages used to be printed one line above the command line.

Actual behavior

Now, the messages are overwriting the pull-down menu bar at the top:

Image

Additional context

I'm not sure if this was an intentional change. Printing them in the command line might not be the best idea, but I think the old behavior, where they were printed one line above, was less confusing.

Update: This behavior hasn't changed. VFS prints messages either over the hint bar if it is enabled or at the top. I disabled the hint bar, which is why the messages are now printed at the top and overwrite the menu.

One possible solution is to introduce a modal dialog for VFS messages, similar to the one in FAR's NetBox plugin:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: vfsVirtual File System supportprio: mediumHas the potential to affect progress

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions