Bug 460633

Summary: directory in panel unnecessarily changed
Product: [Fedora] Fedora Reporter: Tomas Mraz <tmraz>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: dvlasenk, mbroz, pknirsch
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.6.2-4.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-02 14:16:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Mraz 2008-08-29 10:35:34 UTC
Reproducer:
1. change directory in panel to /foo
2. switch to bash (now with cwd in /foo), run some long running command
3. switch back to mc panels, change directory to /bar
4. switch back to bash, the long running command exits, cwd in bash is still /foo
5. switch back to mc panels again, mc switches automatically the directory to /foo

5. is the bug.

Suggestion how to fix it:
If mc finds out that the cwd of bash in 1. and 4. is the same (/foo in our case), it will not change the directory in the panel but changes the cwd in bash to /bar.

Comment 1 Jindrich Novy 2008-09-02 09:53:58 UTC
It is now fixed in rawhide.

Comment 2 Tomas Mraz 2008-09-02 10:12:56 UTC
I don't think the fix is completely right - the current behavior can be seen as regression, because now if I change cwd in the bash it will never change cwd in the panel anymore. I just wanted to put a priority on the cwd changed by user in the panel over the cwd in bash.

Comment 3 Bug Zapper 2008-11-26 02:54:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora Update System 2009-06-01 10:56:07 UTC
mc-4.6.2-4.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/mc-4.6.2-4.fc9

Comment 5 Fedora Update System 2009-06-02 14:16:07 UTC
mc-4.6.2-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.