Bug 447951

Summary: Renaming to itself locks Kate
Product: [Applications] kate Reporter: MisterE <edwin>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 21.12.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example

Description MisterE 2022-01-04 23:28:21 UTC
Created attachment 145118 [details]
Example

SUMMARY
Renaming to itself locks Kate

STEPS TO REPRODUCE
1. Open file
2. Select the tab -> right mouse -> rename
3. Leave the name as is and apply

OBSERVED RESULT
It locks (2 popups)


EXPECTED RESULT
It should not be possible to rename to itself

SOFTWARE/OS VERSIONS
Suse Tumbleweed

ADDITIONAL INFORMATION
See the movie
Comment 1 Waqar Ahmed 2022-01-05 07:43:32 UTC
Git commit e50c8655cdd1894de5567508cbd654d4c4f27a70 by Waqar Ahmed.
Committed on 05/01/2022 at 07:40.
Pushed by waqar into branch 'master'.

Ignore rename if newName == oldName

M  +1    -1    kate/katefileactions.cpp

https://invent.kde.org/utilities/kate/commit/e50c8655cdd1894de5567508cbd654d4c4f27a70