Bug 451774 - Selecting remote protocol does not properly auto-fill "//"
Summary: Selecting remote protocol does not properly auto-fill "//"
Status: ASSIGNED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: URL navigator (show other bugs)
Version: 5.104.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Szymon Zielonka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 17:52 UTC by Nikolaj
Modified: 2024-04-17 21:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video demonstrating the issue (35s) (487.86 KB, video/mp4)
2023-02-20 21:10 UTC, mydarkstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj 2022-03-21 17:52:19 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. select the "remote" button
2. in the drop-down menu, select any protocol

OBSERVED RESULT
any protocol is delivered without //
example I choose ftp, then ftp is substituted:

EXPECTED RESULT
And it should be so ftp://

SOFTWARE/OS VERSIONS
Operating System: starter kit p10
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.10.102-std-def-alt1 (64-bit)
Graphics Platform: X11
Processors: 6 × AMD FX(tm)-6300 Six-Core Processor
Memory: 7.7 ГиБ of RAM
Graphics Processor: NVC1

ADDITIONAL INFORMATION
This is on all distributions.
Comment 1 mydarkstar 2023-02-20 21:10:51 UTC
Created attachment 156549 [details]
Video demonstrating the issue (35s)

I can reproduce this issue on the latest release of KDE neon Testing.

If I select a remote protocol on Dolphin's Network page, it only fills in "ftp:" without the "//" at the end.
Typing a hostname directly after this results in an error, as the "//" are missing.
The user has to type these manually, but they seem to be required every time.

Even with the username and port, the URL would look like this:
`ftp://username@hostname:port/`

I suppose improving this would be a nicety, but I wouldn't consider it a bug per se.
In the meantime, I can recommend the "Add Network Folder" button and wizard.
Comment 2 Bug Janitor Service 2023-03-16 18:10:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1232
Comment 3 Nikolaj 2023-03-16 19:55:56 UTC
(In reply to Bug Janitor Service from comment #2)
> A possibly relevant merge request was started @
> https://invent.kde.org/frameworks/kio/-/merge_requests/1232

not accepted into the upstream?
Comment 4 Bug Janitor Service 2023-03-17 15:13:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1233
Comment 5 mydarkstar 2024-04-17 21:45:47 UTC
(In reply to Bug Janitor Service from comment #4)
> A possibly relevant merge request was started @
> https://invent.kde.org/frameworks/kio/-/merge_requests/1233

It seems like the submitted patch is unfortunately not working.

@Szymon: Please check the comments on the Merge Request, if possible.
Thank you for submitting the patch!