https://bugs.kde.org/show_bug.cgi?id=499231
Bug ID: 499231 Summary: KRename "Find and Replace", failure to write, one space, from XML file, into replace field. Classification: Applications Product: krename Version: 5.0.1 Platform: Ubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: heiko.bec...@kde.org Reporter: ukmjenk...@gmail.com Target Milestone: --- SUMMARY. I have a filename: 0000:0000.txt I wish to replace the colon with one space, I can then type: Find = : Replace = one space When I select "Okay", the proposed filename correctly appears: 0000 0000.txt When, I then save that, Find and Replace, as an XML file, the XML file correctly reads: <Find>:</Find><ReplaceWith> </ReplaceWith> However, later, when I load that XML file, the, one space, is not written into the replace field. So that, there is, no character, in the replace field. So that, when I select "Okay", the proposed filename incorrectly appears: 00000000.txt So that, I then have to manually enter the, one space. I repeated this procedure, so that, every time that I loaded the XML file, the one space was always not written into the replace field, and, the incorrect filename always appeared, and, I always had to manually enter, the, one space, in order to make the correct filename appear. STEPS TO REPRODUCE. To test, the failure to write the, one space, into the replace field, problem: (1) I typed: Find = : Replace = X one space Which I saved as an XML file. The XML file correctly reads: <Find>:</Find><ReplaceWith>X </ReplaceWith> Later, when I load that XML file, the, one space, is correctly written into the replace field. So that, when I select "Okay", the proposed filename correctly appears: 0000X 0000.txt (2) I typed: Find = : Replace = one space X Which I saved as an XML file. The XML file correctly reads: <Find>:</Find><ReplaceWith> X</ReplaceWith> Later, when I load that XML file, the, one space, is correctly written into the replace field. So that, when I select "Okay", the proposed filename correctly appears: 0000 X0000.txt (3) I typed: Find = : Replace = X one space X Which I saved as an XML file. The XML file correctly reads: <Find>:</Find><ReplaceWith>X X</ReplaceWith> Later, when I load that XML file, the, one space, is correctly written into the replace field. So that, when I select "Okay", the proposed filename correctly appears: 0000X X0000.txt (4) I typed: Find = : Replace = one space X one space Which I saved as an XML file. The XML file correctly reads: <Find>:</Find><ReplaceWith> X </ReplaceWith> Later, when I load that XML file, the two, one spaces, are correctly written into the replace field. So that, when I select "Okay", the proposed filename correctly appears: 0000 X 0000.txt OBSERVED RESULT. So, all these tests demonstrate: (1) That the, one space, is always, not written into the replace field, when it is on its own, in the XML file. (2) That the, one space, is always written into the replace field, when it used in any combination with another character. I hope that my descriptions, may help You All, to discover where the bug is, somewhere, in the process of: (1) loading the correct XML file, with: <Find>:</Find><ReplaceWith> </ReplaceWith> (2) the failure to write the, one space, into the replace field. Best Wishes. EXPECTED RESULT. SOFTWARE/OS VERSION. Linux: Xubuntu 22.04 LTS ADDITIONAL INFORMATION. 6am Tuesday 28 January 2025 -- You are receiving this mail because: You are watching all bug changes.