Bug 340233

Summary: View URL is changed to "Home" when opening the Terminal Panel while browsing a remote URL
Product: [Applications] dolphin Reporter: Frank Reininghaus <frank78ac>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.14.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.3

Description Frank Reininghaus 2014-10-22 16:56:18 UTC
This issue was first reported in https://bugs.kde.org/show_bug.cgi?id=339009#c6

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin (with hidden Terminal Panel)
2. Go to fish://localhost
3. Click any subfolder of the home folder (which is shown via fish:)
4. Press F4 to open the Terminal Panel.

Actual Results:  
The view URL is changed, and the view shows the home directory.

Expected Results:  
The view URL should not be changed.
Comment 1 Frank Reininghaus 2014-10-22 17:05:32 UTC
https://git.reviewboard.kde.org/r/120726/
Comment 2 Frank Reininghaus 2014-10-23 21:22:06 UTC
Git commit 62c7120acd96f44d5290fa0e16ae071584e8ee68 by Frank Reininghaus.
Committed on 23/10/2014 at 21:17.
Pushed by freininghaus into branch 'KDE/4.14'.

Connect to the currentDirectoryChanged signal after the shell setup

This fixes the problem that the view URL may be reset to the Home URL
when opening the Terminal Panel while browsing a remote URL. Moreover,
it fixes crashes that can occur when the signal is received during the
shell setup if the DolphinMainWindow does not have a valid
m_activeViewContainer yet.
Related: bug 339502
REVIEW: 120726
FIXED-IN: 4.14.3

M  +2    -2    dolphin/src/panels/terminal/terminalpanel.cpp

http://commits.kde.org/kde-baseapps/62c7120acd96f44d5290fa0e16ae071584e8ee68