Ticket #3231 (closed defect: wontfix)
"Auto save panels setup" affects only the inactive panel on remembering last directory
Reported by: | tompos | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | master |
Keywords: | remember last directory | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
GNU Midnight Commander 4.8.11
Built with GLib 2.39.1
Using the S-Lang library with terminfo database
With builtin Editor
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
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Active panel always goes to the current directory.
Change History
comment:1 in reply to: ↑ description Changed 10 years ago by andrew_b
- Status changed from new to closed
- Resolution set to wontfix
comment:3 follow-ups: ↓ 4 ↓ 5 Changed 10 years ago by tompos
Sorry, but it's not obvious. Would you point out, what I should look at?
The option is "Auto save panels setup", therefore both panels should be affected by this option.
I am not referring to the case, when dirs are provided explicitly.
Thanks.
comment:4 in reply to: ↑ 3 Changed 10 years ago by andrew_b
Replying to tompos:
The option is "Auto save panels setup", therefore both panels should be affected by this option.
"Auto save panels setup" means in general the saving of panel layout (mode, size, sort order, etc). When mc starts as mc without directories, the current directory is loaded in the active panel and passive panel in this case uses path saved in the panels.ini file. This behavior is expected by users and should not be changed. The directory of active panel is not saved in panels.ini at all.
comment:5 in reply to: ↑ 3 Changed 10 years ago by aurel
Replying to tompos:
Sorry, but it's not obvious. Would you point out, what I should look at?
The option is "Auto save panels setup", therefore both panels should be affected by this option.
I am not referring to the case, when dirs are provided explicitly.
Thanks.
If you want mc always to start in same directories you could adjust /usr/lib/mc/mc-wrapper.sh or /usr/lib/mc/mc-wrapper.csh
Replying to tompos:
Yes, correct. See #3047 for details.