Ticket #4555 (new defect)
Opened 3 months ago
MC selects the second, not first user menu item that matches the condition
Reported by: | ilson | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-core | Version: | 4.8.31 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
- Open MC
- Create a file ~/.config/mc/menu with these contents:
= t r 1 item1 = t r 2 item2 = t r 3 item3
- Select any regular file and press F2. User menu opens and "item2" is selected while "item1" should be selected instead.
"LC_MESSAGES=C mc -V" output:
GNU Midnight Commander 4.8.31 Built with GLib 2.78.4 Built with S-Lang 2.3.3 with terminfo database Built with libssh2 1.11.0 With builtin Editor and Aspell support With subshell support as default With support for background operations With mouse support on xterm and Linux console With support for X11 events With internationalization support With multiple codepages support With ext2fs attributes 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;
"LC_MESSAGES=C mc -F" output:
Home directory: /home/ilf Profile root directory: /home/ilf [System data] Config directory: /etc/mc/ Data directory: /usr/share/mc/ File extension handlers: /usr/lib/mc/ext.d/ VFS plugins and scripts: /usr/lib/mc/ extfs.d: /usr/lib/mc/extfs.d/ shell: /usr/lib/mc/shell/ [User data] Config directory: /home/ilf/.config/mc/ Data directory: /home/ilf/.local/share/mc/ skins: /home/ilf/.local/share/mc/skins/ extfs.d: /home/ilf/.local/share/mc/extfs.d/ shell: /home/ilf/.local/share/mc/shell/ mcedit macros: /home/ilf/.local/share/mc/mc.macros mcedit external macros: /home/ilf/.local/share/mc/mcedit/macros.d/macro.* Cache directory: /home/ilf/.cache/mc/
"mc --configure-options" output:
'--prefix=/usr' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--enable-aspell' '--with-screen=slang' '--with-x' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/mc/src=/usr/src/debug/mc -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto'
OS: Arch Linux
Terminal: UXTerm
Midnight Commander: 4.8.31.
Note: See
TracTickets for help on using
tickets.