Bug 504326

Summary: "Folder already exists" dialog is ridiculously long when long paths are involved
Product: [Frameworks and Libraries] frameworks-kio Reporter: hazelnot <hazelnot>
Component: Overwrite dialogAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.20
Sentry Crash Report:
Attachments: A screenshot of the ridiculously long "Folder Already Exists - Dolphin" dialog when trying to merge two folders with very long paths.

Description hazelnot 2025-05-16 11:20:10 UTC
Created attachment 181376 [details]
A screenshot of the ridiculously long "Folder Already Exists - Dolphin" dialog when trying to merge two folders with very long paths.

SUMMARY
The folder overwrite dialog is ridiculously long when long paths are involved, because the first line is forced to actually be rendered as a single line of text 

STEPS TO REPRODUCE
1. Copy a folder with a long path onto another folder with the same name with a similarly long path

OBSERVED RESULT
The overwrite dialog will be ridiculously long

EXPECTED RESULT
The first line be allowed to overflow onto a second (at least) line

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
A similar bug was filed back in 2003 (#62736) for KDE 3, the issue seems to be basically exactly the same, though that report was closed in 2013 due to KDE 3 not being maintained anymore
Comment 1 Nate Graham 2025-05-16 13:37:10 UTC
It doesn't have a capped maximum width, yeah.
Comment 2 Nate Graham 2025-10-23 22:06:42 UTC
Looks like Méven just fixed this in https://invent.kde.org/frameworks/kio/-/commit/81bdd586a7e923e537cdd4d15fc89fe478102785 for Frameworks 6.20!