Bug 464382

Summary: Open SFTP remote connection location of current tab with "Start terminal here" (F9)
Product: [Applications] krusader Reporter: Daniel Duris <kdebugs>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: alex.bikadorov, krusader-bugs-null, voidpointertonull+bugskdeorg
Priority: NOR    
Version First Reported In: 2.8.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Duris 2023-01-16 16:10:54 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Connect to SFTP remote server
2. Press F9

OBSERVED RESULT
Random local host location opened in terminal

EXPECTED RESULT
Remote host location opened in terminal

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Pedro V 2023-12-05 01:14:05 UTC
Can't confirm random location being opened, I reliably get a terminal defaulting to my home directory.

Either the random part was fixed or was never really random.
However the expected result is likely simply isn't implemented. It isn't unreasonable though, but it's a wishlist matter, not a bug report.
Comment 2 Daniel Duris 2023-12-05 10:16:14 UTC
(In reply to Pedro V from comment #1)
> Can't confirm random location being opened, I reliably get a terminal
> defaulting to my home directory.
> 
> Either the random part was fixed or was never really random.
> However the expected result is likely simply isn't implemented. It isn't
> unreasonable though, but it's a wishlist matter, not a bug report.

I am not sure how the location is decided, I tested it again and got: /var/www/html 

Anyway, remote location should be opened in terminal, that's my point.
Comment 3 Alex Bikadorov 2024-12-07 16:01:16 UTC
>Anyway, remote location should be opened in terminal, that's my point.

How should that be possible for an FTP connection, automatically invoking some command? How to decide which client to use and what about user credentials?
Comment 4 Daniel Duris 2024-12-07 23:15:28 UTC
(In reply to Alex Bikadorov from comment #3)
> >Anyway, remote location should be opened in terminal, that's my point.
> 
> How should that be possible for an FTP connection, automatically invoking
> some command? How to decide which client to use and what about user
> credentials?

The same one already opened in a tab. Credentials are already in memory / in use.