Bug 505189

Summary: Cannot clone into a directory deeper than a directory in my home directory
Product: [Applications] kommit Reporter: Kenton <kenton-kde-bugs>
Component: generalAssignee: Hamed Masafi <Hamed.Masafi>
Status: REPORTED ---    
Severity: normal CC: montel
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kenton 2025-06-04 00:18:01 UTC
SUMMARY
When using the cloning from a repository for the first time, I'm not able to use a destination directory deeper than a directory in my home directory. In other words, I can clone to a directory /home/username/kommit, but not into a directory any level deeper, e.g. /home/username/Git/kommit, /home/username/Git/KDE/kommit, etc.

STEPS TO REPRODUCE
1. Click File -> Clone...
2. In the "Url:" field, put any source Git repo (e.g., git@invent.kde.org:sdk/kommit.git)
3. In the "Directory:" field, type a path to a directory multiple levels below your home directory (e.g., /home/username/Git/kommit

OBSERVED RESULT
As soon as you try to type the trailing slash of a directory one layer deep (e.g., /home/username/Git/), the field erases the directory and autocorrects (e.g., /home/username/) and will not let you type a path to any directory deeper than one directory within your home directory (e.g., /home/username/Git would be "valid").

EXPECTED RESULT
Should be able to type a path to any valid directory, up to any depth/length limit supported by the OS.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.9-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
So far I've only tried with the Fedora flatpak package, unsure if this is reproduceable in an RPM version.