Bug 870617

Summary: mc not cd to second on cmdline specified directory
Product: [Fedora] Fedora Reporter: Frantisek Hanzlik <franta>
Component: mcAssignee: Phil Knirsch <pknirsch>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dvlasenk, pahan, pknirsch, rvokal, slavazanko
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 12:44:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
~/.config/mc/ contents for OK and bad behavior none

Description Frantisek Hanzlik 2012-10-27 10:15:23 UTC
Description of problem:
when starting mc with specifiing two directories to which I want
switch panels, mc cd only one; other stay/display actual directory.

Version-Release number of selected component (if applicable):
mc-4.8.6-1.fc17.i686
mc-4.8.4-1.fc17.i686
mc-4.8.6-1.fc16.i686

How reproducible, Steps to Reproduce:
1. cd            # cd to home directory
2. mc /etc /usr  # start mc with two directories on cmdline
3. # one panel badly stays on ~/
  
Additional info:
mc-4.8.1-2.fc16.i686 has not this bug

Comment 1 Frantisek Hanzlik 2013-03-02 14:03:40 UTC
mc-4.8.7-1.fc18.i686 from F18 also has this bug, thus I raise release version.
Moreover, I discover that this bug depends at configuration settings and not occurs always, thus more exact steps to reproducing bug are:
1. create new account or delete mc user configuration (~/.config/mc in last Fedora releases)
2. logged as this account, run "mc /etc /usr". This should work as expected, displaying /etc at left and /usr at right panel.
3. Using <tab> switch to right panel
4. press <F9> and save setup
5. <F10> quit mc
6. run again "mc /etc /usr". Right panel now show ~/ (home directory), instead what should be (/usr).

Note: there is important do step 3., saving configuration when rigth panel is active. When saving setup while on left panel, following "mc /etc /usr" works fine.

Comment 2 Frantisek Hanzlik 2013-03-02 15:25:54 UTC
Created attachment 704485 [details]
~/.config/mc/ contents for OK and bad behavior

I add attachment - "ini" and "panel.ini" files from ~/.config/mc/ dir, for foth cases - when saving setup with left panel active (OK behavior), and when saving when right panel selected (BAD behavior). Below is diff on that configs.

In my first this bug report, this was seeminig stable for me, as I have always "Auto save setup" switched off.

diff -r mc_when-saveSetup-On-Left/panels.ini mc_when-saveSetup-On-Right-panel/panels.ini
30,31c30,31
< current_is_left=true
< other_dir=/usr
---
> current_is_left=false
> other_dir=/etc

Comment 4 Fedora End Of Life 2013-12-21 09:13:00 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2014-02-05 12:44:47 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.