Bug 472433

Summary: Illegal path replacement of local URL when using sftp: before
Product: [Applications] dolphin Reporter: Dirk Stoecker <kde>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: ben, kfm-devel
Priority: NOR    
Version: 23.04.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dirk Stoecker 2023-07-20 12:03:35 UTC
SUMMARY

When a remote sftp: url is used and I clear the path line and enter a local URL that URL is called on the remote server when the patch exists there and not on the local machine.

STEPS TO REPRODUCE
1. enter an URL like sftp://remoteserver/home/username
2. clear the URL line and enter /tmp
3. The url sftp://remoteserver/tmp is shown instead of local /tmp as requested.

OBSERVED RESULT

Wrong path is selected and there is NO WAY to change that except selecting something which doesn't work on remote machine and then go to the correct path.

EXPECTED RESULT

Show the entered path and not something else.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20230717
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series

ADDITIONAL INFORMATION