Bug 460633 - directory in panel unnecessarily changed
Summary: directory in panel unnecessarily changed
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mc
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-29 10:35 UTC by Tomas Mraz
Modified: 2013-07-02 23:31 UTC (History)
3 users (show)

Fixed In Version: 4.6.2-4.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-02 14:16:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.