Ticket #4383 (closed defect: invalid)
Filter keyboard shortcut only affects left panel
Reported by: | brechtm | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | 4.8.28 |
Keywords: | filter shortcut | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
I bound a shortcut to the "Filter" action in mc.keymap. Triggering the shortcut, the Filter dialog pops up. Setting an expression and confirming the dialog, the left panel listing is always filtered, even if the right panel was active.
$ LC_MESSAGES=C mc -V GNU Midnight Commander 4.8.28 Built with GLib 2.70.2 Built with ncurses 6.2 Built with libssh2 1.10.0 With builtin Editor With subshell support as default With support for background operations With mouse support on xterm With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
$ LC_MESSAGES=C mc -F Home directory: /home/brechtm Profile root directory: /home/brechtm [System data] Config directory: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda/etc/mc/ Data directory: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda/share/mc/ File extension handlers: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda/libexec/mc/ext.d/ VFS plugins and scripts: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda/libexec/mc/ extfs.d: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda/libexec/mc/extfs.d/ fish: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda/libexec/mc/fish/ [User data] Config directory: /home/brechtm/.config/mc/ Data directory: /home/brechtm/.local/share/mc/ skins: /home/brechtm/.local/share/mc/skins/ extfs.d: /home/brechtm/.local/share/mc/extfs.d/ fish: /home/brechtm/.local/share/mc/fish/ mcedit macros: /home/brechtm/.local/share/mc/mc.macros mcedit external macros: /home/brechtm/.local/share/mc/mcedit/macros.d/macro.* Cache directory: /home/brechtm/.cache/mc/
$ mc --configure-options '--prefix=/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/mc-4.8.28-odffgslyvongdioljmnoe3fnuh3gveda' 'CFLAGS=-std=c99' '--disable-debug' '--disable-dependency-tracking' '--disable-silent-rules' '--without-x' '--with-screen=ncurses' '--enable-vfs-sftp' 'CC=/apps/hosted/spack/lib/spack/env/gcc/gcc' 'PKG_CONFIG_PATH=/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/pkgconf-1.8.0-a66dqdwimzv4xfambwi5jenzmflmsh76/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/libssh2-1.10.0-iftemfn3cfao3kis3cje73qdtjndqqje/lib64/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/glib-2.70.2-sjm6ne4xb6lcynzpwlsksdlzmosvsvwl/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/openssl-1.1.1m-ebaq3273lssfcceuhixxueimg7dffuz3/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/pcre-8.44-enumxskffkrasjbyy5nr5ysuhomwdeyj/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/libffi-3.3-nrwlhuxkcky2mkjwr5onw6cznrqyvumu/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/ncurses-6.2-22chhjezrtrimviwa3mhjbyuu5tvt5hw/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/libxml2-2.9.12-naanwoczisvnhu3d535k7itegm7whklp/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/zlib-1.2.11-kn7p524dclsf7skozynnuwg4pskrg77f/lib/pkgconfig:/apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/xz-5.2.5-jtarxzglgkl642dmadm2gzhf37mhr4pa/lib/pkgconfig'
Change History
Note: See
TracTickets for help on using
tickets.
Panel filtering was reimplemented in #1373. This bug was fixed there.