Bug 468455

Summary: Copying a file into a project with an existing name causes Kdevelop to stall
Product: [Applications] kdevelop Reporter: Gerald Senarclens de Grancy <oss>
Component: file treeAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: major CC: igorkuo
Priority: NOR    
Version First Reported In: 5.7.211203   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screencast demonstrating the problem

Description Gerald Senarclens de Grancy 2023-04-13 07:20:49 UTC
Created attachment 158062 [details]
screencast demonstrating the problem

SUMMARY
Copying a file into a project with an existing name causes Kdevelop to stall


STEPS TO REPRODUCE
see attached screencast

1. open a project with multiple files
2. select copy on one of the files in the project view's file list
3. select paste in the project to paste the same file (in order to create a copy under a new name)

OBSERVED RESULT
Kdevelop complains that the file already exists. It opens a dialog offering to enter a new filename. It is not possible to change the name in the dialog, the dialog cannot be closed with either "Cancel" or "X" or any other action. Kdevelop cannot be closed either. The program stalls.
Workaround: cancel the copy via the notifications popup (if one is present).

EXPECTED RESULT
The user can enter a new filename. The copied file is also available under the new filename.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04 w/ all regular updates (backports not activated)
(available in About System)
KDE Plasma Version: plasmashell 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
please see attached screencast
Comment 1 Igor Kushnir 2023-04-13 09:29:14 UTC

*** This bug has been marked as a duplicate of bug 435235 ***