Bug 74186

Summary: An ampersand in Name becomes '&&'
Product: [Applications] kmenuedit Reporter: Taishin Kin <taishin>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: berkz
Priority: NOR    
Version: 0.5   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Taishin Kin 2004-02-05 03:15:21 UTC
Version:           0.5 (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
Compiler:          gcc-3.2.5-5.i386.rpm 
OS:          Linux

Please look at my screenshot at:
http://emo.jaist.ac.jp:8000/~taishin/kde/snapshot1.png
Whereas submenu name is "Lost & Found",
tree view shows "Lost && Found."
I cleared the Name entry and re-entered "Lost & Found".
But the result is same.
'&' becomes always '&&'.
Therefore '&&' becomes '&&&&'.
'\&' becomes '\&&'.

However, in case of menu item, kmenuedit behaves differently.
Click on "New Item" button in the toolbar
then type something containing ampersand e.g. "Me & My Familly".
The tree view shows "Me && My Familly".
But, once you edit Name entry, say, delete redundant 'l' in "Familly", then suddenly tree view shows ampersand correctly
i.e. "Me & My Family".

Thanks.
Comment 1 Waldo Bastian 2004-02-05 12:27:48 UTC
*** Bug 74175 has been marked as a duplicate of this bug. ***
Comment 2 Taishin Kin 2004-02-05 17:36:53 UTC
According to WebCVS, this bug is quickly fixed.
I downloaded current CVS of kmenuedit then built it
and it worked without this bug.
Very quick shot!
Thanks!