Bug 500480

Summary: fish open dialog with user first attempt uses wrong remote directory
Product: [Frameworks and Libraries] frameworks-kio Reporter: Jaime Torres <jtamate>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.11.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the error shown

Description Jaime Torres 2025-02-20 18:50:26 UTC
SUMMARY
Using the fish:// protocol with the user, trying to open a remote file in the home of the user, therefore typing fish://user@remote.ip. That url is transformed when the remote files are being collected into fish://user@remote.ip/home/user.
Select a file in that directory, but no app is able to read that file because it tries to read fish://user@remote.ip/home/file instead of fish://user@remote.ip/home/user/file. Going up and down in the directories solves the problem.

STEPS TO REPRODUCE
1.  type fish://user@remote.ip in the open file dialog
2.  select a file in that directory. 
3. An error showing that the app is unable to open the file fish://user@remote.ip/home/file is shown

OBSERVED RESULT
The initial remote directory is showed right, but is transformed when trying to read a file.

EXPECTED RESULT
The file is opened like when you go up and down to the same directory and select the file again.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250218
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Jaime Torres 2025-02-20 18:51:25 UTC
Created attachment 178657 [details]
the error shown